Add sizeof/cast/compound_expr tests.

llvm-svn: 38867
This commit is contained in:
Chris Lattner 2006-08-11 01:38:08 +00:00
parent 4add4e6c12
commit eddbcb2b12
1 changed files with 8 additions and 0 deletions

View File

@ -46,3 +46,11 @@ void test5() {
if (0);
}
void test6() {
if (sizeof (int){ 1}); // sizeof compound literal
if (sizeof (int)); // sizeof type
(int)4; // cast.
(int){4}; // compound literal.
}