mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 16:10:53 +00:00
28 lines
455 B
R
28 lines
455 B
R
|
void printf (string fmt, ...) = #0;
|
||
|
|
||
|
@overload void test (integer x)
|
||
|
{
|
||
|
printf ("\"%s\" %s %d %s\n",
|
||
|
__PRETTY_FUNCTION__, __FUNCTION__, __LINE__, __FILE__);
|
||
|
}
|
||
|
|
||
|
@overload void test (void)
|
||
|
{
|
||
|
printf ("\"%s\" %s %d %s\n",
|
||
|
__PRETTY_FUNCTION__, __FUNCTION__, __LINE__, __FILE__);
|
||
|
}
|
||
|
|
||
|
void foo (void)
|
||
|
{
|
||
|
printf ("\"%s\" %s %d %s\n",
|
||
|
__PRETTY_FUNCTION__, __FUNCTION__, __LINE__, __FILE__);
|
||
|
}
|
||
|
|
||
|
integer main ()
|
||
|
{
|
||
|
test (1);
|
||
|
test ();
|
||
|
foo ();
|
||
|
return 0;
|
||
|
}
|