OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/24761
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
asm1.C
1
// PR c++/24761
2
// { dg-do compile }
3
4
template <int>
5
int f (int i)
6
{
7
asm ("# %0 %1" : "+r" (i));
8
return i;
9
}
10
11
int main ()
12
{
13
return f<0> (0) + f<1> (0);
14
}