uninit.qc test

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-21 11:57:23 +02:00
parent 812794200c
commit 0e3db81cf3

19
data/uninit.qc Normal file
View file

@ -0,0 +1,19 @@
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);
};