blob: 003d948b014ca480290d8c6da6d5b7e391000d4a [file] [log] [blame]
// { dg-additional-options "-fmodules -pedantic-errors" }
module A;
void other() {
adl(N::A{}); // OK, lookup occurs from here
h(0); // OK, doesn't consider N::inner::adl
h(N::A{}); // { dg-message "required from here" }
// { dg-error "TU-local" "" { target *-*-* } 0 }
h(G::B{}); // OK, G::adl is not attached to A
}