1// { dg-do assemble } 2// regression test - 3 4// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc. 5// Copyright (C) 1999 Free Software Foundation 6// related to bug report by Leon Bottou <leonb@research.att.com> 7 8struct A { 9 template<class T> 10 struct B { 11 }; 12 template<class T> 13 struct C { 14 B<T> b; // { dg-bogus "" } B is not a template 15 // but removing wrapper A gets rid of complaint 16 // also, replacing B<T> with A::B<T> also gets rid of complaint 17 }; 18}; 19 20