* template5.C: New test.

From-SVN: r28086
This commit is contained in:
Alexandre Oliva 1999-07-13 10:53:00 +00:00 committed by Alexandre Oliva
parent 4627c0f9a0
commit e65132c873
2 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,7 @@
1999-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
* template5.C: New test.
* template4.C: New test.
* expr1.C: New test.

View File

@ -0,0 +1,14 @@
// Build don't link:
// Copyright (C) 1999 Free Software Foundation
// by Alexandre Oliva <oliva@dcc.unicamp.br>
// simplified from bug report by Andrey Slepuhin <pooh@msu.ru>
// crash test - XFAIL *-*-*
template <typename> class X {
template <typename> class Z;
};
X<void> a;