OSDN Git Service

PR c++/49996
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / initlist58.C
1 // PR c++/50209
2 // { dg-options -std=c++0x }
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 }