summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/decl-microsoft-call-conv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/decl-microsoft-call-conv.cpp')
-rw-r--r--clang/test/SemaCXX/decl-microsoft-call-conv.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/decl-microsoft-call-conv.cpp b/clang/test/SemaCXX/decl-microsoft-call-conv.cpp
index e47a5c2a5cf..a1a6d0b2895 100644
--- a/clang/test/SemaCXX/decl-microsoft-call-conv.cpp
+++ b/clang/test/SemaCXX/decl-microsoft-call-conv.cpp
@@ -176,3 +176,10 @@ namespace test3 {
void bah() {}
void baz() { zed(bah); }
}
+
+namespace test4 {
+ class foo {
+ template <typename T> static void bar(T v);
+ };
+ extern template void foo::bar(const void *);
+}
OpenPOWER on IntegriCloud