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:
parent
b3bc74fb45
commit
7bccb394be
1 changed files with 16 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue