mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 16:55:38 +02:00
Test case for bug 265070.
This commit is contained in:
parent
d1019b8da6
commit
f2bf6c0fa9
3 changed files with 20 additions and 9 deletions
|
@ -3832,4 +3832,15 @@ public class AST2TemplateTests extends AST2BaseTest {
|
||||||
String code= getAboveComment();
|
String code= getAboveComment();
|
||||||
parseAndCheckBindings(code, ParserLanguage.CPP);
|
parseAndCheckBindings(code, ParserLanguage.CPP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// template<int V>
|
||||||
|
// struct A {
|
||||||
|
// enum E { e };
|
||||||
|
// };
|
||||||
|
//
|
||||||
|
// int x = A<0>::e;
|
||||||
|
public void _testEnumeratorInTemplateInstance_265070() throws Exception {
|
||||||
|
String code= getAboveComment();
|
||||||
|
parseAndCheckBindings(code, ParserLanguage.CPP);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue