]> granicus.if.org Git - clang/commitdiff
Add test for PR12938, fixed by Richard Smith in r172691
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 17 Jan 2013 02:43:00 +0000 (02:43 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 17 Jan 2013 02:43:00 +0000 (02:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172697 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp

index b0a19fb93a6c40698a1ab4e90068efe555a26677..75b198e47d13c4b5ee5410a4f8eda32ab16b0bf6 100644 (file)
@@ -300,3 +300,8 @@ template<> template<typename T>
 void has_inline_namespaces::X0<X4>::mem_func_template(T&) { }
 
 template<> int has_inline_namespaces::X0<X4>::value = 13;
+
+namespace PR12938 {
+  template<typename> [[noreturn]] void func();
+  template<> void func<int>();
+}