summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/cxx-templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/cxx-templates.cpp')
-rw-r--r--clang/test/PCH/cxx-templates.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx-templates.cpp b/clang/test/PCH/cxx-templates.cpp
index d27e9ca93c4..ddebae4df24 100644
--- a/clang/test/PCH/cxx-templates.cpp
+++ b/clang/test/PCH/cxx-templates.cpp
@@ -79,3 +79,9 @@ namespace TestNestedExpansion {
Int &g(Int, int, double);
Int &test = NestedExpansion<char, char, char>().f(0, 1, 2, Int(3), 4, 5.0);
}
+
+namespace rdar13135282 {
+ void test() {
+ __mt_alloc<> mt = __mt_alloc<>();
+ }
+}
OpenPOWER on IntegriCloud