Rafael Espindola | 8af669f | 2012-06-19 01:26:10 +0000 | [diff] [blame] | 1 | // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ |
| 2 | // RUN: -target i386-unknown-linux \ |
| 3 | // RUN: --sysroot=%S/Inputs/fake_install_tree \ |
| 4 | // RUN: | FileCheck --check-prefix=CHECK-GCC-4-7 %s |
| 5 | |
| 6 | // CHECK-GCC-4-7: -fuse-init-array |
| 7 | |
| 8 | // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ |
| 9 | // RUN: -target i386-unknown-linux \ |
| 10 | // RUN: --sysroot=%S/Inputs/basic_linux_tree \ |
| 11 | // RUN: | FileCheck --check-prefix=CHECK-GCC-4-6 %s |
| 12 | |
| 13 | |
| 14 | // CHECK-GCC-4-6-NOT: -fuse-init-array |