mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-05 06:33:23 +02:00
Testcase for 181942, parsing '*"x"'
This commit is contained in:
parent
f3e552d7e3
commit
d0407f36ab
1 changed files with 9 additions and 0 deletions
|
@ -3638,4 +3638,13 @@ public class AST2Tests extends AST2BaseTest {
|
||||||
for (int i = 0; i < LANGUAGES.length; i++)
|
for (int i = 0; i < LANGUAGES.length; i++)
|
||||||
parseAndCheckBindings(code, LANGUAGES[i]);
|
parseAndCheckBindings(code, LANGUAGES[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// void test() {
|
||||||
|
// const char d= *"b";
|
||||||
|
// }
|
||||||
|
public void _testBug181942() throws Exception {
|
||||||
|
StringBuffer buffer = getContents(1)[0];
|
||||||
|
for (int i = 0; i < LANGUAGES.length; i++)
|
||||||
|
parse( buffer.toString(), LANGUAGES[i], true, true );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue