1217309Snwhitehorn// { dg-do run  }
2255852Sdteske// g++ 1.37.1 bug 900519_05
3217309Snwhitehorn
4220749Snwhitehorn// g++ fails to allow the use of function-reference types.
5217309Snwhitehorn
6255852Sdteske// cfront 2.0 passes this test.
7217309Snwhitehorn
8217309Snwhitehorn// keywords: function types, reference types
9217309Snwhitehorn
10217309Snwhitehorntypedef void (func_type) (int, int);
11217309Snwhitehorntypedef func_type& func_ref_type;
12217309Snwhitehorn
13217309Snwhitehornvoid function (int arg1, int arg2)
14217309Snwhitehorn{
15217309Snwhitehorn}
16217309Snwhitehorn
17217309Snwhitehornfunc_type& global_func_ref1 = function;
18217309Snwhitehorn
19217309Snwhitehornint main () { return 0; }
20217309Snwhitehorn