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:
parent
ba99674efa
commit
12982b88e7
1 changed files with 11 additions and 0 deletions
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue