aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/nested-linkage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/nested-linkage.cpp')
-rw-r--r--test/SemaTemplate/nested-linkage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaTemplate/nested-linkage.cpp b/test/SemaTemplate/nested-linkage.cpp
new file mode 100644
index 000000000000..ffe9adc927d6
--- /dev/null
+++ b/test/SemaTemplate/nested-linkage.cpp
@@ -0,0 +1,3 @@
+// RUN: clang-cc -fsyntax-only -verify %s
+
+extern "C" { extern "C++" { template<class C> C x(); } }