1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

Test case for bug 258745.

This commit is contained in:
Sergey Prigogin 2008-12-14 02:57:20 +00:00
parent ffe6069d37
commit 4f2be09411

View file

@ -1520,4 +1520,21 @@ public class IndexCPPTemplateResolutionTest extends IndexBindingResolutionTestBa
ICPPClassType owner= m.getClassOwner();
assertInstance(owner, ICPPClassTemplatePartialSpecialization.class);
}
// namespace ns {
// template<typename T1>
// struct A {
// static int a;
// };
// }
//
// template<typename T2>
// struct B : public ns::A<T2> {};
// void test() {
// B<int>::a;
// }
public void _testBug258745() throws Exception {
ICPPField m= getBindingFromASTName("a", 1, ICPPField.class);
}
}