mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-24 10:07:48 +00:00
Add sizeof/cast/compound_expr tests.
llvm-svn: 38867
This commit is contained in:
parent
4add4e6c12
commit
eddbcb2b12
@ -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.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user