OSDN Git Service

* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / friend47.C
1 // Build don't link:
2
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 7 Jan 2001 <nathan@codesourcery.com>
5
6 // Bug 1033. We ICE'd when trying to make a non template class a templated
7 // friend.
8
9 class A {};
10 class B {
11   template<class T> friend class A;   // ERROR - not a template
12 };
13
14