- Timestamp:
- Aug 24, 2010 3:59:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/testcase/tstDBGCParser.cpp
r31926 r31932 322 322 323 323 tstNumOp(pDbgc, "1<<1", 2); 324 tstNumOp(pDbgc, "1<<0i32", 0x0000000100000000);325 tstNumOp(pDbgc, "1<<0i48", 0x0001000000000000);326 tstNumOp(pDbgc, "1<<0i63", 0x8000000000000000);327 328 tstNumOp(pDbgc, "fedcba0987654321>>0i04", 0x0fedcba098765432);329 tstNumOp(pDbgc, "fedcba0987654321>>0i32", 0xfedcba09);330 tstNumOp(pDbgc, "fedcba0987654321>>0i48", 0x0000fedc);324 tstNumOp(pDbgc, "1<<0i32", UINT64_C(0x0000000100000000)); 325 tstNumOp(pDbgc, "1<<0i48", UINT64_C(0x0001000000000000)); 326 tstNumOp(pDbgc, "1<<0i63", UINT64_C(0x8000000000000000)); 327 328 tstNumOp(pDbgc, "fedcba0987654321>>0i04", UINT64_C(0x0fedcba098765432)); 329 tstNumOp(pDbgc, "fedcba0987654321>>0i32", UINT64_C(0xfedcba09)); 330 tstNumOp(pDbgc, "fedcba0987654321>>0i48", UINT64_C(0x0000fedc)); 331 331 332 332 tstNumOp(pDbgc, "0ef & 4", 4); 333 tstNumOp(pDbgc, "01234567891 & fff", 0x00000000891);334 tstNumOp(pDbgc, "01234567891 & ~fff", 0x01234567000);333 tstNumOp(pDbgc, "01234567891 & fff", UINT64_C(0x00000000891)); 334 tstNumOp(pDbgc, "01234567891 & ~fff", UINT64_C(0x01234567000)); 335 335 336 336 tstNumOp(pDbgc, "1 | 1", 1);
Note:
See TracChangeset
for help on using the changeset viewer.