mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 322426 Add copy implementation to CPPASTAmbiguousTemplateArgument class for John Liu
This commit is contained in:
parent
8951c5d12b
commit
e92c84adf6
1 changed files with 1 additions and 0 deletions
|
@ -5006,6 +5006,7 @@ public class AST2TemplateTests extends AST2BaseTest {
|
||||||
}
|
}
|
||||||
code.append("int_<0> >::type tdef;");
|
code.append("int_<0> >::type tdef;");
|
||||||
IASTTranslationUnit tu= parse(code.toString(), ParserLanguage.CPP, true, true);
|
IASTTranslationUnit tu= parse(code.toString(), ParserLanguage.CPP, true, true);
|
||||||
|
tu = validateCopy(tu);
|
||||||
assertEquals(1, tu.getDeclarations().length);
|
assertEquals(1, tu.getDeclarations().length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue