aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/generic-default1.rs
blob: 0a132bf5d6bf2c51314fbacd49419617b8642132 (plain)
1
2
3
4
5
6
7
struct Foo<A = i321>(A);
// { dg-error "failed to resolve TypePath: i321" "" { target *-*-* } .-1 }

fn main() {
    let a;
    a = Foo(123);
}