rsmith accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: test/CXX/temp/temp.decls/temp.mem/p2.cpp:11
@@ -10,2 +10,3 @@
     template <typename> void qux();     // expected-error{{templates cannot be 
declared inside of a local class}}
+    template <typename> using corge = int; // expected-error{{templates cannot 
be declared inside of a local class}}
   };
----------------
Can you add a test for a static data member template too, please?


http://reviews.llvm.org/D18653



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to