xref: /llvm-project/clang/test/Preprocessor/aix-vec_extabi.c (revision 76c931ae42cf1080199a238446306e8554ebb6de)
1 // RUN: %clang -target powerpc-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-extabi %s -o - 2>&1 \
2 // RUN:   | FileCheck %s -check-prefix=EXTABI
3 // RUN: %clang  -target powerpc64-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-extabi %s -o - 2>&1 \
4 // RUN:   | FileCheck %s -check-prefix=EXTABI
5 // RUN: %clang  -target powerpc-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-default %s 2>&1 \
6 // RUN:   | FileCheck %s -check-prefix=DFLTABI
7 // RUN: %clang -target powerpc64-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-default %s 2>&1 \
8 // RUN:   | FileCheck %s -check-prefix=DFLTABI
9 
10 
11 // EXTABI:      #define __EXTABI__
12 // DFLTABI-NOT: #define __EXTABI__
13