| 57 | } |
| 58 | |
| 59 | void testaddtoken2() const { |
| 60 | const std::string code = "0xF0000000"; |
| 61 | const Settings settings1 = dinit(Settings, $.platform.int_bit = 32); |
| 62 | TokenList tokenlist(settings1, Standards::Language::CPP); |
| 63 | tokenlist.addtoken(code, 1, 1, false); |
| 64 | ASSERT_EQUALS("0xF0000000", tokenlist.front()->str()); |
| 65 | } |
| 66 | |
| 67 | void inc() const { |
| 68 | const char code[] = "a++1;1++b;"; |