// { dg-additional-options "-w" } const P: usize = 14; struct Foo; // { dg-error "cannot find value .M. in this scope" } struct Bar; struct Baz; // { dg-error "could not resolve type path .NotAType." }