Commit b7a1a73b authored by nathan's avatar nathan
Browse files

* g++.old-deja/g++.pt/crash57.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36137 138bc75d-0d04-0410-961f-82ee72b054a4
parent b6241392
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash57.C: New test.
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash56.C: New test.
......
// Build don't link:
//
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 11 Aug 2000 <nathan@codesourcery.com>
// bug 382. We ICE'd rather than decay to an address.
struct A {
template <class T> static void f(T) {}
};
void (*h)(int) = A::f<int>;
void (*i)(int) = &A::f<int>;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment