Debian Codegraph @

gcc/testsuite/g++.dg/parse/pr29234.C

raw
1 // PR c++/29234
2
3 struct S { void operator()(); };
4
5 void foo ()
6 {
7 ( S()() );
8 }
9
10 struct C { void operator[](C); };
11
12 void bar ()
13 {
14 C x;
15 ( C()[x] );
16 }