repos / gbc

GBC - Go B Compiler
git clone https://github.com/xplshn/gbc.git

gbc / tests
xplshn  ·  2025-08-13

negative-ivals.b

B
1main() {
2    extrn printf, n, xs;
3    printf("Hello, World\n");
4    auto i;
5    i = 0; while (i < n) printf("%d\n", xs[i++]);
6}
7
8n 3;
9xs[] -1, -2, -3;