AST: uninstantiated template

This commit is contained in:
Daniel Marjamäki 2013-11-04 22:58:47 +01:00
parent 4a01a26945
commit 6ad2491817
1 changed files with 2 additions and 2 deletions

View File

@ -9996,8 +9996,8 @@ private:
testAst("for (;;) {}"); // don't crash
}
void asttemplate() const { // uninstantiated templates will have <,>,etc.. how do we handle them?
//ASSERT_EQUALS("", testAst("a<int>()==3"));
void asttemplate() const { // uninstantiated templates will have <,>,etc..
ASSERT_EQUALS("aint<>3==", testAst("a<int>()==3"));
}
};