aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/initlist73.C
blob: de9748d8b902ff9c6fb1ed75e19fac63e2016c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/57682
// { dg-do compile { target c++11 } }

struct Class
{
  Class (int func)
  try
  : f { func }  { }
  catch ( ... ) { }

private:
  int f;
};