diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-12 17:19:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-12 17:19:28 +0000 |
commit | e66218bf4946474330e714aaef6dd2546cd14bbc (patch) | |
tree | d9de98ed7502bff7887b1c6c208e7cc74fe4da5e /clang/test/Parser/statements.c | |
parent | 89d53752f538899e62265540d3ad36bcc5031b57 (diff) | |
download | bcm5719-llvm-e66218bf4946474330e714aaef6dd2546cd14bbc.tar.gz bcm5719-llvm-e66218bf4946474330e714aaef6dd2546cd14bbc.zip |
Split the expression tests out of statements.c into expressions.c
llvm-svn: 38882
Diffstat (limited to 'clang/test/Parser/statements.c')
-rw-r--r-- | clang/test/Parser/statements.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/clang/test/Parser/statements.c b/clang/test/Parser/statements.c index 69ae13d3cb3..b3f043eaaaf 100644 --- a/clang/test/Parser/statements.c +++ b/clang/test/Parser/statements.c @@ -47,22 +47,3 @@ 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. - - // FIXME: change this to the struct version when we can. - //int A = (struct{ int a;}){ 1}.a; - int A = (int){ 1}.a; -} - -int test7(int a, int b) { - return a ? a,b : a; -} - -int test8(int a, int b) { - return a = b = c; -} |