summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/throw1.C
blob: e5d234be3c317670022c27461542771ebe271eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }

void athrow(const int & e) throw(int)
{
   throw e;
}

int main(void)
{
   athrow(int());
   return 0;
}