1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Bug 408314. Added a test case.

This commit is contained in:
Sergey Prigogin 2013-05-22 20:46:48 -07:00
parent 724e1991ac
commit 8273ca2e5f

View file

@ -7578,6 +7578,29 @@ public class AST2TemplateTests extends AST2TestBase {
parseAndCheckBindings();
}
// template<class T>
// struct A {
// T a;
// };
//
// template<typename T>
// struct B {
// typedef T* pointer;
// };
//
// template <class U>
// struct C : public B<A<U>> {
// typedef typename C::pointer pointer;
// };
//
// void test() {
// C<int>::pointer p;
// p->a = 0;
// }
public void testRegression_408314() throws Exception {
parseAndCheckBindings();
}
// template <typename T>
// void foo(T t) {
// bar(t);