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