aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/generics23.rs
blob: bf4dfb59f6bb6f7885f7d9838f4f3e6294e397bd (plain)
1
2
3
4
5
6
7
8
9
#[lang = "sized"]
pub trait Sized {}

struct Foo<A = f32>(A);

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