1// { dg-do assemble } 2// regression test - 3 4// simplified from bug report by Leon Bottou <leonb@research.att.com> 5// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc. 6// Copyright (C) 1999 Free Software Foundation 7 8struct 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 20