repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr29234.C
blob
d2dc735f226bf16e2955c584c6ba4f0d4310f148
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
}