Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
]
);
}