blob: 0d08530fc6364b1d8b53a0feae4a28c0546bd0d2 [file]
#![feature(no_core)]
#![no_core]
struct Foo {
one: i32,
two: i32,
}
fn main() {
let a = Foo(1, 2); // { dg-error "expected function, tuple struct or tuple variant, found struct 'Foo'" }
}