ZealOS/src/Demo/ParenWarn.ZC
TomAwezome 3a33e6baaf Rename CosmiC to ZealC.
Rename all .CC files to .ZC extension.
2021-12-11 06:21:22 -05:00

17 lines
205 B
HolyC
Executable file

Option(OPTf_WARN_PAREN, ON);
F64 d, d1 = 1, d2 = 1;
d1 = (d2 = 3.0);
d1 = (d2 + 3.0);
d = (d1 + d2) + (d1 + d2);
d = (2 ` 3) ` 2;
d = 2 ` (3 ` 2);
d = -d1 ` (d + d2);
Option(OPTf_WARN_PAREN, OFF);