repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
asm1.C
blob
741759fd2f45c468d5e2ac82663e7db7041ea16a
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
}