File: if-with-embedded-parens

package info (click to toggle)
mojoshader 0.0~hg1314%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,136 kB
  • sloc: ansic: 50,797; perl: 151; sh: 17; makefile: 11
file content (7 lines) | stat: -rw-r--r-- 195 bytes parent folder | download
1
2
3
4
5
6
7
// Before hg changeset 91c22d2de774, the preprocessor incorrect thought
//  that the '+' is a unary operator and would fail to parse the expression.
#if ((1) + (0) < 12)
RIGHT
#else
WRONG
#endif