summaryrefslogtreecommitdiff
path: root/test/Driver/gold-lto-new-pass-man.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/gold-lto-new-pass-man.c')
-rw-r--r--test/Driver/gold-lto-new-pass-man.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/gold-lto-new-pass-man.c b/test/Driver/gold-lto-new-pass-man.c
new file mode 100644
index 000000000000..c2add0c73a12
--- /dev/null
+++ b/test/Driver/gold-lto-new-pass-man.c
@@ -0,0 +1,7 @@
+// RUN: touch %t.o
+//
+// RUN: %clang -target ppc64le-unknown-linux -### %t.o -flto 2>&1 \
+// RUN: -Wl,-plugin-opt=foo -O3 \
+// RUN: -fexperimental-new-pass-manager \
+// RUN: | FileCheck %s
+// CHECK: "-plugin-opt=new-pass-manager"