mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 11:15:38 +02:00
Cosmetics.
Change-Id: I3484969221546dc8d71995c71651bcad95df128a
This commit is contained in:
parent
1735a17c5e
commit
f60d78b32d
1 changed files with 9 additions and 10 deletions
|
@ -5991,7 +5991,6 @@ public class AST2TemplateTests extends AST2TestBase {
|
||||||
parseAndCheckBindings();
|
parseAndCheckBindings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// template<bool> struct S {
|
// template<bool> struct S {
|
||||||
// static int m();
|
// static int m();
|
||||||
// };
|
// };
|
||||||
|
@ -6652,17 +6651,17 @@ public class AST2TemplateTests extends AST2TestBase {
|
||||||
assertSameType(waldo.getType(), CommonCPPTypes.int_);
|
assertSameType(waldo.getType(), CommonCPPTypes.int_);
|
||||||
}
|
}
|
||||||
|
|
||||||
//struct A {
|
// struct A {
|
||||||
// int m(int i) const;
|
// int m(int i) const;
|
||||||
// void m() const;
|
// void m() const;
|
||||||
//};
|
// };
|
||||||
//
|
//
|
||||||
//template<typename T> struct B {
|
// template<typename T> struct B {
|
||||||
// typedef int (T::*Method)(int) const;
|
// typedef int (T::*Method)(int) const;
|
||||||
// B(Method p) {}
|
// B(Method p) {}
|
||||||
//};
|
// };
|
||||||
//
|
//
|
||||||
//B<const A> a(&A::m);
|
// B<const A> a(&A::m);
|
||||||
public void testConstInTypeParameter_377223() throws Exception {
|
public void testConstInTypeParameter_377223() throws Exception {
|
||||||
parseAndCheckBindings();
|
parseAndCheckBindings();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue