aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ehspec1.C
blob: ad1f6c536764b4242e70975178a2451115e1b2b5 (plain)
1
2
3
4
5
6
// Bug: g++ forgets to instantiate A<int>
// Contributed by Jason Merrill <jason@cygnus.com>
// Build don't link:

template <class T> struct A { };
void f () throw (A<int>);