Preprocessor: Evaluate INT_MIN / -1 to 0.

This division is undefined behaviour which raises SIGFPE on x86.
  Most C++ preprocessors evaluate this silently to 0.
This commit is contained in:
Aaron Muir Hamilton
2017-10-18 19:33:00 +00:00
parent a50b107e62
commit dc756a61c8
4 changed files with 20 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ INSTANTIATE_TEST_CASE_P(
"matrixError.vert",
"cppSimple.vert",
"cppIndent.vert",
"cppIntMinOverNegativeOne.frag",
"cppNest.vert",
"cppBad.vert",
"cppBad2.vert",