unit_tests/preprocessor/output/comment-before-preprocessor-directive
raw| 1 | // This shouldn't care that there's a multiline comment before a preprocessor |
| 2 | // directive. It should translate to whitespace, thrown away, making the |
| 3 | // "#if 1" the first thing on the line, and thus valid. |
| 4 | // Note that this isn't legal in C/C++ preprocessing, but Microsoft's fxc.exe |
| 5 | // allows this quirk. |
| 6 | /* comment! */ #if 1 |
| 7 | RIGHT |
| 8 | #else |
| 9 | WRONG |
| 10 | #endif |