llvm-project/clang/test/Driver/aix-constructor-alias.c

8 lines
309 B
C

// Check that we don't pass -mconstructor-aliases when compiling for AIX.
// RUN: %clang -### -target powerpc-ibm-aix7.1.0.0 %s -c -o %t.o 2>&1 \
// RUN: | FileCheck %s
// RUN: %clang -### -target powerpc64-ibm-aix7.1.0.0 %s -c -o %t.o 2>&1 \
// RUN: | FileCheck %s
// CHECK-NOT: "-mconstructor-aliases"