Fix test for r165028. It only generates that flag for source files now.
authorBill Wendling <isanbard@gmail.com>
Tue, 2 Oct 2012 18:07:59 +0000 (18:07 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 2 Oct 2012 18:07:59 +0000 (18:07 +0000)
<rdar://problem/12401423>

llvm-svn: 165029

clang/test/Driver/darwin-ld.c

index 2a3002b..cd511e0 100644 (file)
@@ -80,7 +80,7 @@
 // LINK_OLDER_NODEMANGLE-NOT: "-demangle"
 // LINK_OLDER_NODEMANGLE: "-lSystem"
 
-// RUN: %clang -target x86_64-apple-darwin10 -### %t.o \
+// RUN: %clang -target x86_64-apple-darwin10 -### %s \
 // RUN:   -mlinker-version=117 -flto 2> %t.log
 // RUN: cat %t.log
 // RUN: FileCheck -check-prefix=LINK_OBJECT_LTO_PATH %s < %t.log