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
2018-07-20 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
friend1.C
blob
a35f92ad949bb5f01c95a7d29ad648bb8a6150b4
1
// { dg-options "-fdiagnostics-show-caret" }
2
3
friend void foo(); /* { dg-error "used outside of class" }
4
{ dg-begin-multiline-output "" }
5
friend void foo();
6
^~~~~~
7
------
8
{ dg-end-multiline-output "" } */