1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Disable inactive code parsing after string literals, bug 281745.

This commit is contained in:
Markus Schorn 2009-06-29 16:00:24 +00:00
parent f8a0d51a32
commit b59697f128

View file

@ -254,4 +254,25 @@ public class InactiveCodeTests extends PreprocessorTestsBase {
validateEOF();
validateProblemCount(0);
}
// "part1"
// #ifdef SOME_OPTION
// "part2"
// #else
// "part3"
// #endif
//
// "part4"
// #ifndef SOME_OPTION
// "part5"
// #else
// "part6"
// #endif
public void testStringLiteralConcatenation_281745() throws Exception {
initializeScanner();
validateString("part1part3part4part5");
validateEOF();
validateProblemCount(0);
}
}