mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 13:20:12 +08:00
Make it fail
From-SVN: r28675
This commit is contained in:
parent
2c5a7dc197
commit
eebd152bca
@ -2,6 +2,7 @@
|
||||
// Templates defined outside must be declared inside
|
||||
namespace bar
|
||||
{
|
||||
void foo(); // trick it to provide some prior declaration
|
||||
template<class T>class X;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user