mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 08:22:13 +00:00
20 lines
307 B
C++
20 lines
307 B
C++
|
void(string) print = #1;
|
||
|
void(float) ftos = #2;
|
||
|
void() main = {
|
||
|
local float uninit, unused, setonly;
|
||
|
local vector invec;
|
||
|
print("foo\n");
|
||
|
|
||
|
setonly = 3;
|
||
|
invec = '1 2 3';
|
||
|
|
||
|
if (0)
|
||
|
uninit = 3;
|
||
|
ftos(uninit);
|
||
|
ftos(invec_x);
|
||
|
};
|
||
|
|
||
|
void(float par) partest = {
|
||
|
ftos(par);
|
||
|
};
|