diff options
Diffstat (limited to 'test/Driver/ananas.c')
-rw-r--r-- | test/Driver/ananas.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Driver/ananas.c b/test/Driver/ananas.c new file mode 100644 index 0000000000..2a5b35ed6c --- /dev/null +++ b/test/Driver/ananas.c @@ -0,0 +1,9 @@ +// RUN: %clang -no-canonical-prefixes -target x86_64-unknown-ananas -static %s \ +// RUN: --sysroot=%S/Inputs/ananas-tree -### 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-STATIC %s +// CHECK-STATIC: ld{{.*}}" "-Bstatic" +// CHECK-STATIC: crt0.o +// CHECK-STATIC: crti.o +// CHECK-STATIC: crtbegin.o +// CHECK-STATIC: crtend.o +// CHECK-STATIC: crtn.o |