aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb64.C
blob: da043af5191bb53aba553f03341379311fd16c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Build don't link: 
template <class A>
class B:public A {
  B(){}
};

template <class A>
class C:public B<A> {
  C(){}
};

/*
g++  bugsol.C
bugsol.C:9: Internal compiler error.
bugsol.C:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.

g++ -v
Reading specs from
/home/pierre/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.16/specs
gcc version egcs-2.90.16 971105 (gcc2-970802 experimental)

egcc compiled with gcc version 2.7.2.1 on debian 1.3.1

*/