Skip to content

Commit d70e7ce

Browse files
committed
CPP: Additional test cases.
1 parent ddb1b0a commit d70e7ce

File tree

1 file changed

+10
-0
lines changed
  • cpp/ql/test/query-tests/Documentation/CommentedOutCode

1 file changed

+10
-0
lines changed

cpp/ql/test/query-tests/Documentation/CommentedOutCode/test2.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,13 @@ void myFunction();
5555
// don't #include anything here
5656

5757
// #hashtag
58+
59+
// #if(defined(MYMACRO))
60+
61+
// #iffy
62+
63+
// #pragma once
64+
65+
// # pragma once
66+
67+
/*#error"myerror"*/

0 commit comments

Comments
 (0)