mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Added a test for string concatenation with macro.
This commit is contained in:
parent
3637dd4923
commit
52f60a00ba
1 changed files with 9 additions and 0 deletions
|
@ -7845,6 +7845,15 @@ public class AST2CPPTests extends AST2TestBase {
|
||||||
checkDeclDef(declNames, defNames, cls.getMembers());
|
checkDeclDef(declNames, defNames, cls.getMembers());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// #define MACRO "macro"
|
||||||
|
// void f(const char* s);
|
||||||
|
// void test() {
|
||||||
|
// f("aaa"MACRO);
|
||||||
|
// }
|
||||||
|
public void testStringConcatenationWithMacro() throws Exception {
|
||||||
|
parseAndCheckBindings();
|
||||||
|
}
|
||||||
|
|
||||||
// class X {
|
// class X {
|
||||||
// struct S* m1;
|
// struct S* m1;
|
||||||
// struct T;
|
// struct T;
|
||||||
|
|
Loading…
Add table
Reference in a new issue