From: David Blaikie Date: Thu, 17 Jan 2013 02:43:00 +0000 (+0000) Subject: Add test for PR12938, fixed by Richard Smith in r172691 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=459455b9868974e2bb98032f768fe111ff376ada;p=clang Add test for PR12938, fixed by Richard Smith in r172691 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172697 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp b/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp index b0a19fb93a..75b198e47d 100644 --- a/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp +++ b/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp @@ -300,3 +300,8 @@ template<> template void has_inline_namespaces::X0::mem_func_template(T&) { } template<> int has_inline_namespaces::X0::value = 13; + +namespace PR12938 { + template [[noreturn]] void func(); + template<> void func(); +}