summaryrefslogtreecommitdiffstats
path: root/test/Modules/merge-friends.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/merge-friends.cpp')
-rw-r--r--test/Modules/merge-friends.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Modules/merge-friends.cpp b/test/Modules/merge-friends.cpp
new file mode 100644
index 0000000..8284bfe
--- /dev/null
+++ b/test/Modules/merge-friends.cpp
@@ -0,0 +1,5 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I%S/Inputs/merge-friends -verify %s
+// expected-no-diagnostics
+#include "friend.h"
+N::foo *use;
OpenPOWER on IntegriCloud