Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
friend1.C
blob: a35f92ad949bb5f01c95a7d29ad648bb8a6150b4 [
file
] [
log
] [
blame
]
// { dg-options "-fdiagnostics-show-caret" }
friend
void
foo
();
/* { dg-error "used outside of class" }
{ dg-begin-multiline-output "" }
friend void foo();
^~~~~~
------
{ dg-end-multiline-output "" } */