| 1 |
/// General tests for assembler invocations on Solaris. |
| 2 |
|
| 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" |