☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
friend1.C
☽
☼
gcc/testsuite/g++.dg/diagnostic/friend1.C
code
plain
raw
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 "" } */