llvm-project/llvm/test/tools/llvm-rc/Inputs/not-expr.rc

18 lines
818 B
Plaintext

not DIALOGEX // not as an identifier
0,
3 | not 1, // = 2
61 + not 1, // = 60
not 1 | 3, // = 3
7 | (not 1 + not 2) // = 4
STYLE 0xff00ff03 & ~(not (1|2)) // = 0xff00ff03
EXSTYLE 0xff00ff03 | ~(not (1|2)) | not 8 // = 0xfffffff7
{
GROUPBOX "", 0,
not 1, // = 0
15 + (((not 1 | not 2 | not 4) | 2)), // = 10
0, 0, 0x34 - (not 1) + (not 0x14) // expression evaluates to 0x20 with not mask 0x15, which clears 0x5 bits of default
// groupbox class style 0x50000007, resulting with style 0x50000022
GROUPBOX "", 1, 0,0,0,0,(not 7) | 1 // expression evaluates to 1 with not mask 0x7, which clears 0x7 bits of groupbox default
// class style 0x50000007, but sets bit 1, resulting with style 0x50000001
}