aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/eh/throw3.C
blob: 3417eeb3dcf9f6a68e7c0e0d1b2838bfa1f4e697 (plain)
1
2
3
4
5
6
7
8
// PR c++/19312

struct A {};

void foo(A a)
{
    throw (A)a;
}