test: migrate 700_e2e rows to corpus fixtures; retire the carrier
136 rows migrated, 0 already owned, 3 wwstage-failing rows held out.
This commit is contained in:
11
test/wcc/data/r700_shortcircuit_bool/case.ww
Normal file
11
test/wcc/data/r700_shortcircuit_bool/case.ww
Normal file
@@ -0,0 +1,11 @@
|
||||
//ww:run-exit 42
|
||||
// Migrated from 700_e2e row 138.
|
||||
package main;
|
||||
fn main() i32 = {
|
||||
let a: bool = (1 > 0) && (2 < 1);
|
||||
let b: bool = (1 < 0) || (2 > 1);
|
||||
let n: i32 = 0;
|
||||
if (!a) { n += 10; };
|
||||
if (b) { n += 32; };
|
||||
return n;
|
||||
};
|
||||
Reference in New Issue
Block a user