~pixelherodev/zyg

ref: 27187f8391f97f3e6f69df47ee5ad9337d9975a0 zyg/test/test_failing.zig -rw-r--r-- 152 bytes
27187f83Noam Preil fixes 5 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");
}