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: Add execution test cases
[official-gcc.git]
/
gcc
/
testsuite
/
rust
/
execute
/
torture
/
macros28.rs
blob
b011f92414945671f377740648dce6058de58ebf
1
macro_rules! t {
2
() => {
3
i32
4
};
5
}
6
7
fn id<T>(arg: T) -> T {
8
arg
9
}
10
11
fn main() -> i32 {
12
id::<t!()>(15) - 15
13
}