blob: c3ef5844626a15707d9f1403b81a81c6306838ef [file]
#![feature(no_core)]
#![no_core]
struct Foo {
x: i32,
}
fn main() {
let x = Foo {
x: 0,
x: 0, // { dg-error "field 'x' specified more than once" }
};
}