1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Test case for bug 263154.

This commit is contained in:
Sergey Prigogin 2009-01-31 23:50:25 +00:00
parent 1ba2a99987
commit e3ce00a49d

View file

@ -6606,4 +6606,15 @@ public class AST2CPPTests extends AST2BaseTest {
BindingAssertionHelper ba= new BindingAssertionHelper(getAboveComment(), true);
ba.assertNonProblem("m(a())", 1, ICPPMethod.class);
}
// struct A {
// int a;
// static void m() {
// a = 0;
// }
// };
public void _testInstanceMemberInStaticMethod_263154() throws Exception {
BindingAssertionHelper ba= new BindingAssertionHelper(getAboveComment(), true);
ba.assertProblem("a =", 1);
}
}