URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [const3.C] - Rev 816
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;
}