First version committed to git
[zpugcc/jano.git] / toolchain / gcc / gcc / testsuite / g++.old-deja / g++.other / nested4.C
blob673fa3cb9099749c471c6ed1787f4f3f9edf40a7
1 // { dg-do assemble  }
2 // 
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 10 Aug 2000 <nathan@codesourcery.com>
6 // bug 372 We ICE'd on the out-of-class definition of a nested class of a
7 // class template.
9 struct Bar
13 template <class T>
14 struct Foo
16   struct Baz;
17   struct Biz;
18   struct Boz
19   : Bar
20   {
21   };
24 template <class T>
25 struct Foo<T>::Biz
29 template <class T>
30 struct Foo<T>::Baz
31 : Bar