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

Bug 377223. Added a failing test case.

This commit is contained in:
Sergey Prigogin 2012-04-19 15:47:48 -07:00
parent b3bc74fb45
commit 7bccb394be

View file

@ -5787,7 +5787,7 @@ public class AST2TemplateTests extends AST2BaseTest {
parseAndCheckBindings();
}
// template <template<typename T> class TT> struct CTT {
// template <template<typename T> class TT> struct CTT {
// int y;
// };
// template <typename T> struct CT {
@ -5800,4 +5800,19 @@ public class AST2TemplateTests extends AST2BaseTest {
public void testSpecializationOfClassType_368610c() throws Exception {
parseAndCheckBindings();
}
//struct A {
// int m(int i) const;
// void m() const;
//};
//
//template<typename T> struct B {
// typedef int (T::*Method)(int) const;
// B(Method p) {}
//};
//
//B<const A> a(&A::m);
public void _testConstInTypeParameter_377223() throws Exception {
parseAndCheckBindings();
}
}