URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [const3.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// Bug: bar isn't emitted, which causes havoc.
extern int i;
const int bar = i;
int i = 5;
int main()
{
return bar != 5;
}
Go to most recent revision | Compare with Previous | Blame | View Log