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:
parent
259c26f452
commit
1300d696f4
1 changed files with 12 additions and 0 deletions
|
@ -1322,4 +1322,16 @@ public class PreprocessorTests extends PreprocessorTestsBase {
|
||||||
validateEOF();
|
validateEOF();
|
||||||
validateProblemCount(0);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue