| 1434 | |
| 1435 | |
| 1436 | void stringify() { |
| 1437 | const char filedata[] = "#define STRINGIFY(x) #x\n" |
| 1438 | "STRINGIFY(abc)\n"; |
| 1439 | |
| 1440 | // expand macros.. |
| 1441 | std::string actual = expandMacros(filedata, *this); |
| 1442 | |
| 1443 | ASSERT_EQUALS("\n\"abc\"", actual); |
| 1444 | } |
| 1445 | |
| 1446 | void stringify2() { |
| 1447 | const char filedata[] = "#define A(x) g(#x)\n" |
no outgoing calls
no test coverage detected