Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist58.C

raw
1 // PR c++/50209
2 // { dg-do compile { target c++11 } }
3
4 struct S { int i,j; };
5
6 struct A
7 {
8 static void f (S = {1,2});
9 };
10
11 void f (S = {3,4});
12
13 int main()
14 {
15 A::f();
16 f();
17 }