blob: 2427a67ebcba4ce10c743b5b5afe6cc1e4c2a1c7 [file]
#![feature(no_core)]
#![no_core]
struct Foo {}
struct S {}
fn main() {
Foo { #[cfg(feature = -1)] .. } = S {};
// { dg-error "attributes are not allowed before .* in a struct expression" "" { target *-*-* } .-1 }
}