From: Dale Weiler Date: Sun, 25 May 2014 00:36:09 +0000 (-0400) Subject: Put this back in global scope, we have a local scope test X-Git-Tag: xonotic-v0.8.1~9^2~32^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3945f26d925046e4f15524d384a49bde5883c641;p=xonotic%2Fgmqcc.git Put this back in global scope, we have a local scope test --- diff --git a/tests/inexact.qc b/tests/inexact.qc index a17cccd..11dc2c6 100644 --- a/tests/inexact.qc +++ b/tests/inexact.qc @@ -1,6 +1,7 @@ +const float a = 1.0 / 3.0; +const float b = 0.33333333333; + void main() { - const float a = 1.0 / 3.0; - const float b = 0.33333333333; if (a == b) { // Should trigger warning }