1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Test case for bug 259460.

This commit is contained in:
Sergey Prigogin 2008-12-22 01:37:00 +00:00
parent ba99674efa
commit 12982b88e7

View file

@ -10,6 +10,7 @@
* Ed Swartz (Nokia) * Ed Swartz (Nokia)
* Markus Schorn (Wind River Systems) * Markus Schorn (Wind River Systems)
* Andrew Ferguson (Symbian) * Andrew Ferguson (Symbian)
* Sergey Prigogin (Google)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.parser.tests.ast2; package org.eclipse.cdt.core.parser.tests.ast2;
@ -6276,4 +6277,14 @@ public class AST2CPPTests extends AST2BaseTest {
public void testVoidViaTypedef_Bug258694() throws Exception { public void testVoidViaTypedef_Bug258694() throws Exception {
parseAndCheckBindings(getAboveComment(), ParserLanguage.CPP); parseAndCheckBindings(getAboveComment(), ParserLanguage.CPP);
} }
// struct A {
// void method() {
// B b;
// }
// struct B {};
// };
public void _testClassMemberScope_259460() throws Exception {
parseAndCheckBindings(getAboveComment(), ParserLanguage.CPP);
}
} }