macaw/macaw-ppc/tests/ppc/test-conditional.c
Tristan Ravitch fcb694ccb9 Add a test for conditional branches
It doesn't pass yet.  It is hung up on an unsupported register type (Crrc, used
in a compare).
2017-11-06 17:19:16 -08:00

12 lines
95 B
C

#include "util.h"
int g = -11;
void _start() {
if(g > 0) {
g = g + 1;
}
EXIT();
}