]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/inexact.qc
Merge branch 'cooking'
[xonotic/gmqcc.git] / tests / inexact.qc
diff --git a/tests/inexact.qc b/tests/inexact.qc
new file mode 100644 (file)
index 0000000..11dc2c6
--- /dev/null
@@ -0,0 +1,8 @@
+const float a = 1.0 / 3.0;
+const float b = 0.33333333333;
+
+void main() {
+    if (a == b) {
+        // Should trigger warning
+    }
+}