summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/catch1.C
blob: 877402231ea9b6989255550edb6d04ce0b47ef16 (plain)
1
2
3
4
5
6
7
8
// PR c++/28249
// { dg-do compile }

void foo()
{
  try {}
  catch (long long long) {}  // { dg-error "long long long" }
}