diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test1-01.txt | 30 | ||||
-rw-r--r-- | test/test1-02.txt | 21 | ||||
-rw-r--r-- | test/test1-03.txt | 2 | ||||
-rw-r--r-- | test/test1.c | 3 |
4 files changed, 56 insertions, 0 deletions
diff --git a/test/test1-01.txt b/test/test1-01.txt index 6ddfb33..1af6beb 100644 --- a/test/test1-01.txt +++ b/test/test1-01.txt @@ -702,3 +702,33 @@ function_decl fun2 test1.c 38:6 integer_cst -128 - min value integer_cst 127 - max value integer_cst 64 - parm size +function_decl funb test1.c 39:6 +- isPublic: 1 + function_type - function type + void_type - function return type + type_decl void <built-in> 0:0 - type name + - isAutogenerated: 1 + tree_list - arg types + boolean_type - value + type_decl bool <built-in> 0:0 - type name + - isAutogenerated: 1 + tree_list - chain + void_type - value + type_decl void <built-in> 0:0 - type name + - isAutogenerated: 1 + result_decl test1.c 39:21 - function result + - isAutogenerated: 1 + void_type - result type + type_decl void <built-in> 0:0 - type name + - isAutogenerated: 1 + parm_decl bool1 test1.c 39:16 - argument + integer_type - decl type + - precisionBits: 32 + - signed + type_decl int <built-in> 0:0 - type name + - isAutogenerated: 1 + integer_cst 32 - type size + integer_cst -2147483648 - min value + integer_cst 2147483647 - max value + integer_cst 8 - parm size + statement_list - code diff --git a/test/test1-02.txt b/test/test1-02.txt index 533c13b..43ebba9 100644 --- a/test/test1-02.txt +++ b/test/test1-02.txt @@ -485,3 +485,24 @@ 7 integer_cst 7 integer_cst 5 integer_cst +0 function_decl test1.c +1 function_type +2 void_type +3 type_decl <built-in> +2 tree_list +3 boolean_type +4 type_decl <built-in> +3 tree_list +4 void_type +5 type_decl <built-in> +1 result_decl test1.c +2 void_type +3 type_decl <built-in> +1 parm_decl test1.c +2 integer_type +3 type_decl <built-in> +3 integer_cst +3 integer_cst +3 integer_cst +2 integer_cst +1 statement_list diff --git a/test/test1-03.txt b/test/test1-03.txt index ced6511..91d0ade 100644 --- a/test/test1-03.txt +++ b/test/test1-03.txt @@ -8,3 +8,5 @@ Allocations before cleanup: 168 Allocations after cleanup: 0 Allocations before cleanup: 50 Allocations after cleanup: 0 +Allocations before cleanup: 21 +Allocations after cleanup: 0 diff --git a/test/test1.c b/test/test1.c index ac55d19..8a36fe1 100644 --- a/test/test1.c +++ b/test/test1.c @@ -36,3 +36,6 @@ int fun1(const int x,int*** y) else return MAX123; } long fun2(const char* zz) { return (long)zz; } +void funb(bool bool1) +{ +} |