1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00

Testcase for 181942, parsing '*"x"'

This commit is contained in:
Markus Schorn 2007-04-11 15:40:32 +00:00
parent f3e552d7e3
commit d0407f36ab

View file

@ -3638,4 +3638,13 @@ public class AST2Tests extends AST2BaseTest {
for (int i = 0; i < LANGUAGES.length; 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 );
}
}