Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr29234.C
blob: d2dc735f226bf16e2955c584c6ba4f0d4310f148 [
file
] [
log
] [
blame
]
// PR c++/29234
struct
S
{
void
operator
()();
};
void
foo
()
{
(
S
()()
);
}
struct
C
{
void
operator
[](
C
);
};
void
bar
()
{
C x
;
(
C
()[
x
]
);
}