summaryrefslogtreecommitdiff
path: root/test/Modules/merge-lambdas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/merge-lambdas.cpp')
-rw-r--r--test/Modules/merge-lambdas.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Modules/merge-lambdas.cpp b/test/Modules/merge-lambdas.cpp
index d14483aa3aa76..463a4c9b2fc63 100644
--- a/test/Modules/merge-lambdas.cpp
+++ b/test/Modules/merge-lambdas.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fmodules -verify %s
+// RUN: %clang_cc1 -fmodules -verify %s -emit-llvm-only
// expected-no-diagnostics
#pragma clang module build A
@@ -46,3 +46,6 @@ using U = decltype(y2);
using V = decltype(x3);
using V = decltype(y3);
+
+#pragma clang module import A
+void (*p)() = f<int>();