25 lines · c
1// Check whether __int128_t and __uint128_t are supported.2 3// RUN: not %clang -c --target=riscv32-unknown-linux-gnu -fsyntax-only %s \4// RUN: 2>&1 | FileCheck %s5 6// RUN: %clang -c --target=riscv32-unknown-linux-gnu -fsyntax-only %s \7// RUN: -fno-force-enable-int128 -fforce-enable-int1288 9// RUN: not %clang -c --target=riscv32-unknown-linux-gnu -fsyntax-only %s \10// RUN: -fforce-enable-int128 -fno-force-enable-int12811 12// RUN: not %clang -c --target=powerpc-ibm-aix -fsyntax-only %s \13// RUN: 2>&1 | FileCheck %s14 15// RUN: %clang -c --target=powerpc64-ibm-aix -fsyntax-only %s \16// RUN: 2>&117 18void a(void) {19 __int128_t s;20 __uint128_t t;21}22 23// CHECK: error: use of undeclared identifier '__int128_t'24// CHECK: error: use of undeclared identifier '__uint128_t'25