diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/traits8.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/traits8.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/traits8.rs b/gcc/testsuite/rust/compile/traits8.rs index b22590a..ccba9fa 100644 --- a/gcc/testsuite/rust/compile/traits8.rs +++ b/gcc/testsuite/rust/compile/traits8.rs @@ -1,3 +1,6 @@ +#[lang = "sized"] +pub trait Sized {} + trait A { fn get(self) -> f64; } |