~pixelherodev/zyg

ref: 7dccbd7d9dc502f2cd859c4c7ebd84a0d8f3acd7 zyg/test/test_failing.zig -rw-r--r-- 152 bytes
7dccbd7dNoam Preil merge 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
test {
    const b = 2;
    foo();
    foo();
}

const foo = fn()void {};


test "a"{
	foo();
	@panic("BAR");
	foo();
}

test "bad"{
	@panic("FOO");
}