URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [asm1.C] - Rev 825
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/24761
// { dg-do compile }
template <int>
int f (int i)
{
asm ("# %0 %1" : "+r" (i));
return i;
}
int main ()
{
return f<0> (0) + f<1> (0);
}
Go to most recent revision | Compare with Previous | Blame | View Log