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