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