URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 384 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// g++ 1.36.1 bug 900211_01
|
// g++ 1.36.1 bug 900211_01
|
|
|
// g++ issues only warnings for calls to previously undeclared functions,
|
// g++ issues only warnings for calls to previously undeclared functions,
|
// however such calls are actually errors.
|
// however such calls are actually errors.
|
|
|
// Cfront 2.0 passes this test.
|
// Cfront 2.0 passes this test.
|
|
|
// keywords: undeclared, functions
|
// keywords: undeclared, functions
|
|
|
void global_function_0 ()
|
void global_function_0 ()
|
{
|
{
|
global_function_1 (); /* { dg-error "" } */
|
global_function_1 (); /* { dg-error "" } */
|
}
|
}
|
|
|
int main () { return 0; }
|
int main () { return 0; }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.