Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
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" }
}