From 61536a0ee3d602b9e5c7236256c6bf2cdb35596d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Jun 2015 02:14:19 +0300 Subject: Update tests results. --- test/test1-01.txt | 24 +++++++++++++++++++++++- test/test1-02.txt | 15 +++++++++++++++ test/test1-03.txt | 2 +- test/test1-04.txt | 1 - 4 files changed, 39 insertions(+), 3 deletions(-) diff --git a/test/test1-01.txt b/test/test1-01.txt index 0852f21..68a2402 100644 --- a/test/test1-01.txt +++ b/test/test1-01.txt @@ -400,7 +400,29 @@ function_decl fun1 test1.c 29:5 integer_cst -2147483648 - min value integer_cst 2147483647 - max value integer_cst 32 - decl size - Unsupported node type: plus_expr - operand - operand + plus_expr - operand + var_decl a test1.c 31:6 - operand + - isUsed: 1 + integer_cst 32 - decl size + integer_type - var type + - precisionBits: 32 + - signed + type_decl int 0:0 - type name + - isAutogenerated: 1 + integer_cst 32 - type size + integer_cst -2147483648 - min value + integer_cst 2147483647 - max value + var_decl b test1.c 31:14 - operand + - isUsed: 1 + integer_cst 32 - decl size + integer_type - var type + - precisionBits: 32 + - signed + type_decl int 0:0 - type name + - isAutogenerated: 1 + integer_cst 32 - type size + integer_cst -2147483648 - min value + integer_cst 2147483647 - max value return_expr - else init_expr - operand result_decl test1.c 29:30 - operand diff --git a/test/test1-02.txt b/test/test1-02.txt index 64ce541..404bdee 100644 --- a/test/test1-02.txt +++ b/test/test1-02.txt @@ -273,6 +273,21 @@ 8 integer_cst 8 integer_cst 7 integer_cst +6 plus_expr +7 var_decl test1.c +8 integer_cst +8 integer_type +9 type_decl +9 integer_cst +9 integer_cst +9 integer_cst +7 var_decl test1.c +8 integer_cst +8 integer_type +9 type_decl +9 integer_cst +9 integer_cst +9 integer_cst 4 return_expr 5 init_expr 6 result_decl test1.c diff --git a/test/test1-03.txt b/test/test1-03.txt index c05873f..06cf1ab 100644 --- a/test/test1-03.txt +++ b/test/test1-03.txt @@ -4,7 +4,7 @@ Allocations before cleanup: 83 Allocations after cleanup: 0 Allocations before cleanup: 43 Allocations after cleanup: 0 -Allocations before cleanup: 116 +Allocations before cleanup: 131 Allocations after cleanup: 0 Allocations before cleanup: 50 Allocations after cleanup: 0 diff --git a/test/test1-04.txt b/test/test1-04.txt index 22fd087..54a0c94 100644 --- a/test/test1-04.txt +++ b/test/test1-04.txt @@ -8,4 +8,3 @@ Unsupported node type: modify_expr Unsupported node type: modify_expr Unsupported node type: call_expr Unsupported node type: eq_expr -Unsupported node type: plus_expr -- cgit v1.2.3-60-g2f50