FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900519_05.C
blob9a2a4cffaa27f21ac36b6f17374319d77e914d8d
1 // g++ 1.37.1 bug 900519_05
3 // g++ fails to allow the use of function-reference types.
5 // cfront 2.0 passes this test.
7 // keywords: function types, reference types
9 typedef void (func_type) (int, int);
10 typedef func_type& func_ref_type;               
12 void function (int arg1, int arg2)
16 func_type& global_func_ref1 = function;         
18 int main () { return 0; }