xref: /llvm-project/clang/test/Headers/arm-cde-header.c (revision 123064dc397d478a636ba1c5960d41ad381036a0)
1 // RUN: %clang_cc1 -std=c89 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve.fp -target-feature +cdecp0 -fsyntax-only %s
2 // RUN: %clang_cc1 -std=c17 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve -target-feature +cdecp0 -fsyntax-only %s
3 // RUN: %clang_cc1 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve.fp -target-feature +cdecp0 -fsyntax-only %s
4 // RUN: %clang_cc1 -xc++ -std=c++98 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve -target-feature +cdecp0 -fsyntax-only %s
5 // RUN: %clang_cc1 -xc++ -std=c++20 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve.fp -target-feature +cdecp0 -fsyntax-only %s
6 // RUN: %clang_cc1 -xc++ -triple thumbv8.1m.main-none-none-eabi -target-feature +mve.fp -target-feature +cdecp0 -fsyntax-only %s
7 
8 // REQUIRES: aarch64-registered-target || arm-registered-target
9 
10 // Check that the headers don't conflict with each other
11 
12 #include <arm_cde.h>
13 #include <arm_mve.h>
14