[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / aix-integrated-as.c
blob4e842cdcb896d5c4f0a7d36437497bbeaab6d046
1 // Test integrated-as is called by default on AIX.
3 // Check powerpc-ibm-aix7.1.0.0, 32-bit.
4 // RUN: %clang %s -### -c 2>&1 \
5 // RUN: --target=powerpc-ibm-aix7.1.0.0 \
6 // RUN: | FileCheck --check-prefix=CHECK-IAS32 %s
7 // CHECK-IAS32-NOT: "-a32"
8 // CHECK-IAS32: "-cc1" "-triple" "powerpc-ibm-aix7.1.0.0"{{.*}}"-emit-obj"
10 // Check powerpc64-ibm-aix7.1.0.0, 64-bit.
11 // RUN: %clang %s -### -c 2>&1 \
12 // RUN: --target=powerpc64-ibm-aix7.1.0.0 \
13 // RUN: | FileCheck --check-prefix=CHECK-IAS64 %s
14 // CHECK-IAS64-NOT: "-a64"
15 // CHECK-IAS64: "-cc1" "-triple" "powerpc64-ibm-aix7.1.0.0"{{.*}}"-emit-obj"