diff options
Diffstat (limited to 'test/Driver/freebsd.c')
-rw-r--r-- | test/Driver/freebsd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/freebsd.c b/test/Driver/freebsd.c new file mode 100644 index 000000000000..91258d9e5728 --- /dev/null +++ b/test/Driver/freebsd.c @@ -0,0 +1,7 @@ +// RUN: clang -ccc-clang-archs "" -ccc-host-triple ppc64-pc-freebsd8 %s -### 2> %t.log && +// RUN: cat %t.log && +// RUN: grep 'clang-cc" "-triple" "powerpc64-pc-freebsd8"' %t.log && +// RUN: grep 'as" "-o" ".*\.o" ".*\.s' %t.log && +// RUN: grep 'ld" "--eh-frame-hdr" "-dynamic-linker" ".*ld-elf.*" "-o" "a\.out" ".*crt1.o" ".*crti.o" "crtbegin.o" ".*\.o" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" ".*crtend.o" ".*crtn.o"' %t.log && +// RUN: true + |