Commit eebd152b by Martin v. Löwis

Make it fail

From-SVN: r28675
parent 2c5a7dc1
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// Templates defined outside must be declared inside // Templates defined outside must be declared inside
namespace bar namespace bar
{ {
void foo(); // trick it to provide some prior declaration
template<class T>class X; template<class T>class X;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment