]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/fteqcc-bugs.qc
Merge branch 'master' into terencehill/cmd_fixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / fteqcc-bugs.qc
1 void error(...) = #1;
2
3 void Oassignments(float foo) // pass 1
4 {
5         float bar;
6         bar = 2;
7         bar = (foo ? 0 : (foo & 1));
8         if(bar == 2)
9                 error("FTEQCC SUCKS");
10 }
11
12 void Oreturn_only(float foo) // pass 0
13 {
14         if(foo)
15         {
16                 return;
17         }
18 }
19
20 void Oreturn_only_trap(void)
21 {
22         error("FTEQCC SUCKS");
23 }