summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ehspec1.C
blob: e75704e776a513092e087316a3ddbd2bebedf814 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// Bug: g++ forgets to instantiate A<int>
// Contributed by Jason Merrill <jason@cygnus.com>

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