1
0
Fork 0
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:
Sergey Prigogin 2009-02-17 02:43:24 +00:00
parent d1019b8da6
commit f2bf6c0fa9
3 changed files with 20 additions and 9 deletions

View file

@ -3832,4 +3832,15 @@ public class AST2TemplateTests extends AST2BaseTest {
String code= getAboveComment();
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);
}
}