Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
prepost4.C
blob: 1ec6d23bf3dbbe9b3103bee046acb1867054c248 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed prefix-postfix
class
Y
{
public
:
friend
Y
operator
++
(
Y
&);
// This is legal---it's a good test to make sure that grokfndecl's
// checking of the arguments is sane.
friend
Y
operator
++
(
Y
&,
int
);
};