2024-02-16 20:02:50 +00:00
|
|
|
//@ check-pass
|
2013-08-19 17:15:25 -04:00
|
|
|
// Tests correct implementation of traits with super-builtin-kinds
|
|
|
|
// using a bounded type parameter.
|
|
|
|
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ pretty-expanded FIXME #23616
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2013-08-16 18:21:02 -04:00
|
|
|
trait Foo : Send { }
|
|
|
|
|
|
|
|
impl <T: Send> Foo for T { }
|
|
|
|
|
2013-09-25 00:43:37 -07:00
|
|
|
pub fn main() { }
|