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