URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [local2.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
extern "C" void abort();
template <class T>
void f(T)
{
struct S {
int i;
} s;
s.i = 3;
if (s.i != 3)
abort();
}
int main()
{
f(7);
}
Go to most recent revision | Compare with Previous | Blame | View Log