1 // REQUIRES: powerpc-registered-target 2 // RUN: %clang -### --driver-mode=g++ -target powerpc64le-linux-gnu %s \ 3 // RUN: --gcc-toolchain=%S/Inputs/powerpc64le-linux-gnu-tree/gcc-11.2.0 \ 4 // RUN: -mabi=ieeelongdouble -stdlib=libstdc++ 2>&1 | FileCheck %s 5 // RUN: %clang -### --driver-mode=g++ -target powerpc64le-linux-gnu %s \ 6 // RUN: -mabi=ieeelongdouble -stdlib=libc++ 2>&1 | FileCheck %s 7 // RUN: %clang -### --driver-mode=g++ -target powerpc64le-linux-gnu %s\ 8 // RUN: -mabi=ieeelongdouble -stdlib=libc++ -Wno-unsupported-abi 2>&1 | \ 9 // RUN: FileCheck %s --check-prefix=NOWARN 10 11 // CHECK: warning: float ABI 'ieeelongdouble' is not supported by current library 12 // NOWARN-NOT: warning: float ABI 'ieeelongdouble' is not supported by current library 13 long double foo(long double x) { return x; } 14