mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-07 00:05:53 +02:00
Bug 322988: Testcase.
This commit is contained in:
parent
ace155deba
commit
2d5e046e1c
1 changed files with 11 additions and 0 deletions
|
@ -4138,6 +4138,17 @@ public class AST2TemplateTests extends AST2BaseTest {
|
||||||
parseAndCheckBindings(code);
|
parseAndCheckBindings(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// template <typename T> class CT {
|
||||||
|
// void init();
|
||||||
|
// };
|
||||||
|
// void CT<int>::init(void) {
|
||||||
|
// }
|
||||||
|
public void testMethodSpecialization_322988() throws Exception {
|
||||||
|
final String code= getAboveComment();
|
||||||
|
parseAndCheckBindings(code, ParserLanguage.CPP);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// template <typename T>
|
// template <typename T>
|
||||||
// struct A {
|
// struct A {
|
||||||
// typedef A<T> Self;
|
// typedef A<T> Self;
|
||||||
|
|
Loading…
Add table
Reference in a new issue