diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:11:37 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:11:37 +0000 |
commit | 461a67fa15370a9ec88f8f8a240bf7c123bb2029 (patch) | |
tree | 6942083d7d56bba40ec790a453ca58ad3baf6832 /test/Driver/lto-plugin-windows.c | |
parent | 75c3240472ba6ac2669ee72ca67eb72d4e2851fc (diff) |
Notes
Diffstat (limited to 'test/Driver/lto-plugin-windows.c')
-rw-r--r-- | test/Driver/lto-plugin-windows.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/lto-plugin-windows.c b/test/Driver/lto-plugin-windows.c new file mode 100644 index 0000000000000..1b12702a98a7a --- /dev/null +++ b/test/Driver/lto-plugin-windows.c @@ -0,0 +1,6 @@ +// Check that Windows uses LLVMgold.dll. +// REQUIRES: system-windows +// RUN: %clang -### %s -target x86_64-unknown-linux -flto 2>&1 \ +// RUN: | FileCheck -check-prefix=CHECK-LTO-PLUGIN %s +// +// CHECK-LTO-PLUGIN: "-plugin" "{{.*}}\\LLVMgold.dll" |