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 0f83d0c0d82..7fde7bcfdf7 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 @@ -3790,4 +3790,22 @@ public class AST2Tests extends AST2BaseTest { assertEquals("A", ((ICPPMethod)methodA).getClassOwner().getName()); assertEquals("AA", ((ICPPMethod)methodAA).getClassOwner().getName()); } + + // typedef int int32; + // int32 f(int32 (*p)) { + // return *p; + // } + public void test167833_cpp() throws Exception { + StringBuffer buffer = getContents(1)[0]; + parseAndCheckBindings(buffer.toString(), ParserLanguage.CPP); + } + + // typedef int int32; + // int32 f(int32 (*p)) { + // return *p; + // } + public void _test167833_c() throws Exception { + StringBuffer buffer = getContents(1)[0]; + parseAndCheckBindings(buffer.toString(), ParserLanguage.C); + } }