blob: 65f4574eccdade2557ce6920781eb060d6d4684c [file] [log] [blame]
Sebastian Pop9ec60df2012-01-20 22:01:23 +00001// RUN: %clang -ccc-clang-archs "" -target i686-pc-openbsd %s -### 2> %t.log
John Thompson5e517c82009-10-13 18:51:26 +00002// RUN: FileCheck -input-file %t.log %s
Daniel Dunbarf7b8eec2009-06-29 20:52:51 +00003
Daniel Dunbar8ff5b282009-12-11 23:00:49 +00004// CHECK: clang{{.*}}" "-cc1" "-triple" "i686-pc-openbsd"
John Thompson5e517c82009-10-13 18:51:26 +00005// CHECK: ld{{.*}}" "-e" "__start" "--eh-frame-hdr" "-Bdynamic" "-dynamic-linker" "{{.*}}ld.so" "-o" "a.out" "{{.*}}crt0.o" "{{.*}}crtbegin.o" "{{.*}}.o" "-lgcc" "-lc" "-lgcc" "{{.*}}crtend.o"