diff options
Diffstat (limited to 'util/romcc/tests/simple_test7.c')
-rw-r--r-- | util/romcc/tests/simple_test7.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util/romcc/tests/simple_test7.c b/util/romcc/tests/simple_test7.c new file mode 100644 index 0000000000..571f2cdb71 --- /dev/null +++ b/util/romcc/tests/simple_test7.c @@ -0,0 +1,12 @@ +void main(void) +{ + int i; + i = 0; + do { + int j; + __builtin_outb(i, 0xab); + j = i++; + __builtin_outb(j, 0xdc); + } while(i <= 9); + +} |