[cfe-commits] r172697 - /cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp

David Blaikie dblaikie at gmail.com
Wed Jan 16 18:43:00 PST 2013


Author: dblaikie
Date: Wed Jan 16 20:43:00 2013
New Revision: 172697

URL: http://llvm.org/viewvc/llvm-project?rev=172697&view=rev
Log:
Add test for PR12938, fixed by Richard Smith in r172691

Modified:
    cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp

Modified: cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp?rev=172697&r1=172696&r2=172697&view=diff
==============================================================================
--- cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp (original)
+++ cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp Wed Jan 16 20:43:00 2013
@@ -300,3 +300,8 @@
 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>();
+}





More information about the cfe-commits mailing list