summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/eh/throw2.C
blob: f9da8d7f4fdcf81d7cdab125919f29e9af6873d6 (plain)
1
2
3
4
5
6
7
8
// PR c++/16851

struct A { A(int); };

void f(int t)
{
 throw (3,A(t));
}