quakeforge/tools/qfcc/test/old/overload.r
Bill Currie 49ca09a64f Clean up qfcc's test directory.
I don't remember what half these tests were for :/
2012-11-22 21:58:52 +09:00

30 lines
610 B
R

//integer foo;
//typedef integer foo;
//integer (void) foo = #0;
//integer (bag);
//.integer (sack);
//.integer (float sack)x;
//integer *bar, baz;
//integer snafu(void)
//{
//}
//integer [8]blah;
@overload void func (integer a, integer b, integer c);
@overload void func (integer a, integer b);
@overload void func (integer a, ...);
//@overload void func (integer a, integer b, ...);
@overload void func (string y);
//@overload void func (...);
void func (integer x)
{
// func ("");
}
void func (string y)
{
// func (0.0);
// func (0, 0.0);
// func (0, 0, 0.0);
func (0.0, "");
// func (0, 0, 0, 0, 0.0);
}