Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 355 Bytes

comment-before-preprocessor-directive

File metadata and controls

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