Add test for PR12938, fixed by Richard Smith in r172691

llvm-svn: 172697
This commit is contained in:
David Blaikie 2013-01-17 02:43:00 +00:00
parent 978cca9f49
commit af64e141d3
1 changed files with 5 additions and 0 deletions

View 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>();
}