X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=tests%2Finexact.qc;h=11dc2c62521d0ce9e87ffb8f898f214f647a9edd;hb=806850e4083d3a993fdb941cddb5c257d37f3617;hp=a17cccddcc73e467e632fde908c80fc78dc2e249;hpb=4fa694fe827756b3d5f25ebb5398c9fe5f57e205;p=xonotic%2Fgmqcc.git 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 }