Debian Codegraph @

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

raw
1 // PR c++/50365
2 // { dg-do compile { target c++11 } }
3
4 struct A { int i; };
5
6 struct B {
7 B();
8 A* f();
9 };
10
11 B::B()
12 {
13 int(f()->i);
14 }