Skip to content

Commit 5e5cf1a

Browse files
committed
Fix test for r165028. It only generates that flag for source files now.
<rdar://problem/12401423> llvm-svn: 165029
1 parent 3b2000f commit 5e5cf1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/darwin-ld.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
// LINK_OLDER_NODEMANGLE-NOT: "-demangle"
8181
// LINK_OLDER_NODEMANGLE: "-lSystem"
8282

83-
// RUN: %clang -target x86_64-apple-darwin10 -### %t.o \
83+
// RUN: %clang -target x86_64-apple-darwin10 -### %s \
8484
// RUN: -mlinker-version=117 -flto 2> %t.log
8585
// RUN: cat %t.log
8686
// RUN: FileCheck -check-prefix=LINK_OBJECT_LTO_PATH %s < %t.log

0 commit comments

Comments
 (0)