Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
friend5.C
blob: 43f06129b2057301776de2200b78de64110739d4 [
file
] [
log
] [
blame
]
// PR c++/23694
extern
"C"
struct
A
{
friend
void
foo
(
int
)
{}
// { dg-message "declaration" }
friend
void
foo
()
{}
// { dg-error "foo" "err" }
};