Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr61804.C
blob: 898dc09984e2cb195b31a29496063b6518287cc4 [
file
] [
log
] [
blame
]
// PR c++/61804
struct
T
{
void
operator
++(
int
);
};
void
f
()
{
(
T
())++;
}
struct
U
{
void
operator
--(
int
);
};
void
g
()
{
(
U
())--;
}
void
h
()
{
int
a
;
(
int
)++
a
;
(
int
)--
a
;
}