Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
prepost3.C
blob: f55c3dc35b3890f2c7700c0799ffc99387be2223 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed prefix-postfix
class
Y
{
public
:
friend
Y
operator
++
(
Y
&);
friend
Y
operator
++
(
Y
&,
char
);
// { dg-error "13:postfix .Y operator\\+\\+\\(Y&, char\\). must have .int. as its second argument" }
};