mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
C++: Uncomment preprocessor test cases and add addition #if test case
Note that the new test case shows that line splicing is not correctly handled in the case of `#if`.
This commit is contained in:
@@ -4,15 +4,15 @@
|
||||
//#pragma byte_order(big_endian)
|
||||
#warning "Not in Kansas any more"
|
||||
|
||||
//#define MULTILINE \
|
||||
#define MULTILINE \
|
||||
/* Hello */ \
|
||||
world \
|
||||
/* from */ \
|
||||
a long \
|
||||
/* macro */
|
||||
//#undef \
|
||||
#undef \
|
||||
MULTILINE
|
||||
|
||||
//#include \
|
||||
<pp.h> \
|
||||
#include \
|
||||
"pp.h" \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user