summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-08 02:14:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-08 02:14:19 +0300
commit61536a0ee3d602b9e5c7236256c6bf2cdb35596d (patch)
tree0c4418fc16b78e7ae412486b318a75e7fb79cb4c
parentbadf4fc1c880a0c0426cf7d945b9e60a7edb4198 (diff)
downloadparanucker-61536a0ee3d602b9e5c7236256c6bf2cdb35596d.tar.gz
paranucker-61536a0ee3d602b9e5c7236256c6bf2cdb35596d.tar.bz2
paranucker-61536a0ee3d602b9e5c7236256c6bf2cdb35596d.tar.xz
paranucker-61536a0ee3d602b9e5c7236256c6bf2cdb35596d.zip
Update tests results.
-rw-r--r--test/test1-01.txt24
-rw-r--r--test/test1-02.txt15
-rw-r--r--test/test1-03.txt2
-rw-r--r--test/test1-04.txt1
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 <built-in> 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 <built-in> 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 <built-in>
+9 integer_cst
+9 integer_cst
+9 integer_cst
+7 var_decl test1.c
+8 integer_cst
+8 integer_type
+9 type_decl <built-in>
+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