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
RISC-V: Fix rtl checking enabled failure with -msave-restore.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
friend4.C
blob
dc55280751d1cb101d01bbcdede7dc588e682dfc
1
// { dg-do assemble }
2
// GROUPS passed friends
3
// do_friend should complain that foo was declared as a friend of
4
// A before A was defined
5
struct A; // { dg-message "forward" }
6
struct B { friend A::foo (); };// { dg-error "" } .*