3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 7 May 2001 <nathan@codesourcery.com>
6 // Bug 2525. We ICEd when a namespace scope template was erroneously
7 // given as a base member init.
21 : B (r) // { dg-error "" } no field named B
38 : N1::B (r) // { dg-error "" } no field named N1::B