Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.pt / crash67.C
blob6325c7282948d7b6bf1a9439e3c51211edcccdd5
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // 
4 // Copyright (C) 2001, 2003 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 6 May 2001 <nathan@codesourcery.com>
7 // Bug 2526. We ICE'd after diagnosing dependent name confusion in
8 // friendliness when not being pedantic.
10 template<typename T>
11 struct B
13   typedef B<T> Mother;
16 template<typename T>
17 struct D : B<T>
19   friend class Mother;