diff options
Diffstat (limited to 'test/Driver/gold-lto.c')
-rw-r--r-- | test/Driver/gold-lto.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/gold-lto.c b/test/Driver/gold-lto.c new file mode 100644 index 000000000000..05ac27aab9fb --- /dev/null +++ b/test/Driver/gold-lto.c @@ -0,0 +1,6 @@ +// RUN: touch %t.o +// RUN: %clang -target x86_64-pc-linux-gnu -### %t.o -O4 -Wl,-plugin-opt=foo 2> %t.log +// RUN: FileCheck %s < %t.log + +// CHECK: "-plugin" "{{.*}}/LLVMgold.so" +// CHECK: "-plugin-opt=foo" |