gmqcc/tests/inexact-local.qc

8 lines
140 B
C++
Raw Normal View History

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