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

struct Foo<T>(T);

fn main() {
    &Foo(123);
}