mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
12 lines
201 B
Rust
12 lines
201 B
Rust
//@ run-pass
|
|
|
|
#![allow(dead_code)]
|
|
#![allow(unreachable_code)]
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
use std::ops::Add;
|
|
|
|
fn wsucc<T:Add<Output=T> + Copy>(n: T) -> T { n + { return n } }
|
|
|
|
pub fn main() { }
|