gcc/testsuite/g++.old-deja/g++.pt/memtemp91.C
raw| 1 | // { dg-do assemble } |
| 2 | // regression test - |
| 3 | |
| 4 | // simplified from bug report by Leon Bottou <[email protected]> |
| 5 | // by Paul Burchard <[email protected]>, Level Set Systems, Inc. |
| 6 | // Copyright (C) 1999 Free Software Foundation |
| 7 | |
| 8 | struct A { |
| 9 | template <class T> |
| 10 | struct B { |
| 11 | T x; |
| 12 | }; |
| 13 | template <class T> |
| 14 | struct C : B<T> { |
| 15 | C() {} |
| 16 | }; |
| 17 | }; |
| 18 | |
| 19 |