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.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/decl-microsoft-call-conv.cpp b/clang/test/SemaCXX/decl-microsoft-call-conv.cpp
index a1a6d0b2895..9f1463245ba 100644
--- a/clang/test/SemaCXX/decl-microsoft-call-conv.cpp
+++ b/clang/test/SemaCXX/decl-microsoft-call-conv.cpp
@@ -183,3 +183,11 @@ namespace test4 {
};
extern template void foo::bar(const void *);
}
+
+namespace test5 {
+ template <class T>
+ class valarray {
+ void bar();
+ };
+ extern template void valarray<int>::bar();
+}
OpenPOWER on IntegriCloud