mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 08:03:41 +08:00
spec24.C: ensure that template specializations start with template headers
* g++.old-deja/g++.pt/spec24.C: ensure that template specializations start with template headers From-SVN: r23464
This commit is contained in:
parent
5585c1bc80
commit
f76f703ffd
@ -1,3 +1,8 @@
|
||||
1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* g++.old-deja/g++.pt/spec24.C: ensure that template
|
||||
specializations start with template headers
|
||||
|
||||
1998-10-29 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* g++.old-deja/g++.other/dcast2.C: cannot dynamic downcast &x
|
||||
|
5
gcc/testsuite/g++.old-deja/g++.pt/spec24.C
Normal file
5
gcc/testsuite/g++.old-deja/g++.pt/spec24.C
Normal file
@ -0,0 +1,5 @@
|
||||
// Build don't link:
|
||||
|
||||
template <class T> class A;
|
||||
// template <>
|
||||
class A<int>; // ERROR - missing template header - XFAIL *-*-*
|
Loading…
Reference in New Issue
Block a user