URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bugs/] [900211_01.C] - Rev 700
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// g++ 1.36.1 bug 900211_01
// g++ issues only warnings for calls to previously undeclared functions,
// however such calls are actually errors.
// Cfront 2.0 passes this test.
// keywords: undeclared, functions
void global_function_0 ()
{
global_function_1 (); /* { dg-error "" } */
}
int main () { return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log