| 1 |
// { dg-do assemble } |
| 2 |
template <class A> |
| 3 |
class B:public A { |
| 4 |
B(){} |
| 5 |
}; |
| 6 |
|
| 7 |
template <class A> |
| 8 |
class C:public B<A> { |
| 9 |
C(){} |
| 10 |
}; |
| 11 |
|
| 12 |
/* |
| 13 |
g++ bugsol.C |
| 14 |
bugsol.C:9: Internal compiler error. |
| 15 |
bugsol.C:9: Please submit a full bug report to `[email protected]'. |
| 16 |
|
| 17 |
g++ -v |
| 18 |
Reading specs from |
| 19 |
/home/pierre/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.16/specs |
| 20 |
gcc version egcs-2.90.16 971105 (gcc2-970802 experimental) |
| 21 |
|
| 22 |
egcc compiled with gcc version 2.7.2.1 on debian 1.3.1 |
| 23 |
|
| 24 |
*/ |
| 25 |
|