Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / parse / local-class1.C
blob4fc7e6ebb131e61996710b5d33a21c9e41ba69a0
1  // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 14 Feb 2005 <nathan@codesourcery.com>
4 // Origin: Jorn Wolfgang Rennecke <amylaar@gcc.gnu.org>
5 // Bug 19608: ICE on invalid
8 void f ()
10   class c
11     {
12       friend void g () { } // { dg-error "local class definition" "" }
13     };