[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / types.c
blob76823ad702b6b622916a5cf2f8087776105d81aa
1 // Check whether __int128_t and __uint128_t are supported.
3 // RUN: not %clang -c --target=riscv32-unknown-linux-gnu -fsyntax-only %s \
4 // RUN: 2>&1 | FileCheck %s
6 // RUN: %clang -c --target=riscv32-unknown-linux-gnu -fsyntax-only %s \
7 // RUN: -fno-force-enable-int128 -fforce-enable-int128
9 // RUN: not %clang -c --target=riscv32-unknown-linux-gnu -fsyntax-only %s \
10 // RUN: -fforce-enable-int128 -fno-force-enable-int128
12 // RUN: not %clang -c --target=powerpc-ibm-aix -fsyntax-only %s \
13 // RUN: 2>&1 | FileCheck %s
15 // RUN: %clang -c --target=powerpc64-ibm-aix -fsyntax-only %s \
16 // RUN: 2>&1
18 void a(void) {
19 __int128_t s;
20 __uint128_t t;
23 // CHECK: error: use of undeclared identifier '__int128_t'
24 // CHECK: error: use of undeclared identifier '__uint128_t'