comparison gcc/testsuite/g++.dg/cpp0x/initlist73.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // PR c++/57682
2 // { dg-do compile { target c++11 } }
3
4 struct Class
5 {
6 Class (int func)
7 try
8 : f { func } { }
9 catch ( ... ) { }
10
11 private:
12 int f;
13 };