diff options
Diffstat (limited to 'test/parse/expr/const.txt')
-rw-r--r-- | test/parse/expr/const.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test/parse/expr/const.txt b/test/parse/expr/const.txt new file mode 100644 index 00000000..16f8bc63 --- /dev/null +++ b/test/parse/expr/const.txt @@ -0,0 +1,43 @@ +(module + (func + (i32.const 0) + (i32.const -2147483648) + (i32.const 4294967295) + (i32.const -0x80000000) + (i32.const 0xffffffff) + + (i64.const 0) + (i64.const -9223372036854775808) + (i64.const 18446744073709551615) + (i64.const -0x8000000000000000) + (i64.const 0xffffffffffffffff) + + (f32.const 0.0) + (f32.const 1e23) + (f32.const 1.234567e-5) + (f32.const nan) + (f32.const -nan) + (f32.const +nan) + (f32.const nan:0xabc) + (f32.const -nan:0xabc) + (f32.const +nan:0xabc) + (f32.const infinity) + (f32.const -infinity) + (f32.const +infinity) + (f32.const -0x1p-1) + (f32.const 0x1.921fb6p+2) + + (f64.const 0.0) + (f64.const -0.987654321) + (f64.const 6.283185307179586) + (f64.const nan) + (f64.const -nan) + (f64.const +nan) + (f64.const nan:0xabc) + (f64.const -nan:0xabc) + (f64.const +nan:0xabc) + (f64.const infinity) + (f64.const -infinity) + (f64.const +infinity) + (f64.const -0x1p-1) + (f64.const 0x1.921fb54442d18p+2))) |