diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java index df8a28a4359..c5243f9abe1 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java @@ -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 ); + } }