2 // GROUPS passed code-generation
3 // Check that type float parameters can be correctly passed to
6 extern "C" int printf (const char *, ...);
13 tres_floats (float f1, float f2, float f3);
25 tres_floats tf (v1, v2, v3);
27 if ((tf.get_f1() != v1) || (tf.get_f2() != v2) || (tf.get_f3() != v3))
28 { printf ("FAIL\n"); return 1; }
35 tres_floats::tres_floats (float f1, float f2, float f3)
42 float tres_floats::get_f1 ()
47 float tres_floats::get_f2 ()
52 float tres_floats::get_f3 ()