Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / solaris-as.c
blobbf06dd97cc3862c7abc2ccd849f25178d8aadfb3
1 /// General tests for assembler invocations on Solaris.
3 /// Test that clang uses gas on Solaris.
4 // RUN: %clang -x assembler %s -### -c -fno-integrated-as \
5 // RUN: --target=sparc-sun-solaris2.11 2>&1 \
6 // RUN: | FileCheck --check-prefix=CHECK-GAS %s
7 // RUN: %clang -x assembler %s -### -c -fno-integrated-as \
8 // RUN: --target=sparc-sun-solaris2.11 2>&1 \
9 // RUN: | FileCheck --check-prefix=CHECK-GAS %s
10 /// Allow for both "/usr/bin/gas" (native) and "gas" (cross) forms.
11 // CHECK-GAS: gas"