1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Testcase for bug 210344.

This commit is contained in:
Markus Schorn 2007-11-20 13:13:41 +00:00
parent 7788841cb3
commit 8db78a8929

View file

@ -32,5 +32,22 @@ public class PreprocessorBugsTests extends PreprocessorTestsBase {
initializeScanner();
validateEOF();
validateProblem(0, IProblem.PREPROCESSOR_INCLUSION_NOT_FOUND, "regxag4.sfr");
validateProblemCount(1);
}
// #define FUNKY(x) __##x##__
// #define __foo__ 127
//
// #if FUNKY(foo) == 0x7f
// #define MSG "hello"
// #else
// #define MSG "goodbye"
// #endif
// MSG
public void testTokenPaste_Bug210344() throws Exception {
initializeScanner();
validateString("hello");
validateEOF();
validateProblemCount(0);
}
}