diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Driver/darwin-ld.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Driver/darwin-ld.c b/test/Driver/darwin-ld.c index e5ddc23a21..31f45f2561 100644 --- a/test/Driver/darwin-ld.c +++ b/test/Driver/darwin-ld.c @@ -95,3 +95,17 @@ // // FORCE_LOAD: {{ld(.exe)?"}} // FORCE_LOAD: "-force_load" "a" "-force_load" "b" + +// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### %t.o \ +// RUN: -lazy_framework Framework 2> %t.log +// +// RUN: FileCheck -check-prefix=LINK_LAZY_FRAMEWORK %s < %t.log +// LINK_LAZY_FRAMEWORK: {{ld(.exe)?"}} +// LINK_LAZY_FRAMEWORK: "-lazy_framework" "Framework" + +// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### %t.o \ +// RUN: -lazy_library Library 2> %t.log +// +// RUN: FileCheck -check-prefix=LINK_LAZY_LIBRARY %s < %t.log +// LINK_LAZY_LIBRARY: {{ld(.exe)?"}} +// LINK_LAZY_LIBRARY: "-lazy_library" "Library" |