repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gccrs: Handle `async` functions in traits
[official-gcc.git]
/
gcc
/
testsuite
/
rust
/
compile
/
issue-1383.rs
blob
dac4b2a1255260861efdac2fb9f37d055f6745cc
1
#[lang = "sized"]
2
pub trait Sized {}
3
4
pub fn generic_function<X>(a: X) -> X {
5
a
6
}
7
8
fn main() -> i32 {
9
let a = generic_function(123);
10
a - 123
11
}