OSDN Git Service

Revert XFAIL removal.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / crash57.C
1 // Build don't link:
2 // 
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 11 Aug 2000 <nathan@codesourcery.com>
5
6 // bug 382. We ICE'd rather than decay to an address.
7
8 struct A {
9 template <class T> static void f(T) {}
10 };
11 void (*h)(int) = A::f<int>;
12 void (*i)(int) = &A::f<int>;