gmqcc/tests/inexact-local.qc

7 lines
140 B
C++

void main() {
const float a = 1.0 / 3.0;
const float b = 0.33333333333;
if (a == b) {
// Should trigger warning
}
}