repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash42.C
blob
65365857d07ec07aba6cd683ee24f3e757ec45c7
1
// { dg-do assemble }
2
// Origin: Walter Brisken <walterfb@puppsr14.princeton.edu>
3
4
template <class T> class list {};
5
6
class newtype
7
{
8
};
9
10
void crash()
11
{
12
newtype* n;
13
n->list.size (); // { dg-error "" } invalid use of template
14
}