1 // { dg-options "-frust-name-resolution-2.0" }
6 super::super::super::foo!(); // { dg-error "too many leading .super. keywords" }
7 // { dg-error "could not resolve macro invocation" "" { target *-*-* } .-1 }
9 super::crate::foo!(); // { dg-error "leading path segment .crate. can only be used" }
10 // { dg-error "could not resolve macro invocation" "" { target *-*-* } .-1 }
13 crate::foo::bar::super::foo!(); // { dg-error "leading path segment .super. can only be used" }
14 // { dg-error "could not resolve macro invocation" "" { target *-*-* } .-1 }