Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
friend-2_b.C
blob: 27034c709d5278ecff7a3614d4df64bd78158e12 [
file
] [
log
] [
blame
]
// { dg-additional-options -fmodules-ts }
module
bink
;
struct
other
{};
void
f
(
pusher
*
p
,
other
*
q
)
{
grabber
(
p
);
frob
(
p
);
// ok, found by ADL
frob
(
q
);
// { dg-error "not declared" }
}