FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900211_01.C
blob75c99b6ee0d9c0ae2d73b30e4b7f1722a415493e
1 // g++ 1.36.1 bug 900211_01
3 // g++ issues only warnings for calls to previously undeclared functions,
4 // however such calls are actually errors.
6 // Cfront 2.0 passes this test.
8 // keywords: undeclared, functions
9 // Build don't link: 
11 void global_function_0 ()
13   global_function_1 ();         /* ERROR - */
16 int main () { return 0; }