repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
prepost3.C
blob
f55c3dc35b3890f2c7700c0799ffc99387be2223
1
// { dg-do assemble }
2
// GROUPS passed prefix-postfix
3
class Y {
4
public:
5
friend Y operator++ (Y&);
6
friend Y operator++ (Y&, char); // { dg-error "13:postfix .Y operator\\+\\+\\(Y&, char\\). must have .int. as its second argument" }
7
};