
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
21 lines
193 B
Rust
21 lines
193 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
#![allow(non_snake_case)]
|
|
|
|
|
|
struct C {
|
|
x: usize,
|
|
}
|
|
|
|
fn C(x: usize) -> C {
|
|
C {
|
|
x: x
|
|
}
|
|
}
|
|
|
|
fn f<T>(_x: T) {
|
|
}
|
|
|
|
pub fn main() {
|
|
f(C(1));
|
|
}
|