blob: 75c99b6ee0d9c0ae2d73b30e4b7f1722a415493e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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
// Build don't link:
void global_function_0 ()
{
global_function_1 (); /* ERROR - */
}
int main () { return 0; }
|