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

testcase for bug 84268

This commit is contained in:
Markus Schorn 2008-05-30 14:00:46 +00:00
parent 259c26f452
commit 1300d696f4

View file

@ -1322,4 +1322,16 @@ public class PreprocessorTests extends PreprocessorTestsBase {
validateEOF();
validateProblemCount(0);
}
// #define hash_hash # ## #
// #define mkstr(a) # a
// #define in_between(a) mkstr(a)
// #define join(c, d) in_between(c hash_hash d)
// join(x, y)
public void testC99_6_10_3_3_4_Bug84268() throws Exception {
initializeScanner();
validateString("x ## y");
validateEOF();
validateProblemCount(0);
}
}