diff options
Diffstat (limited to 'util/romcc/tests/simple_test9.c')
-rw-r--r-- | util/romcc/tests/simple_test9.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util/romcc/tests/simple_test9.c b/util/romcc/tests/simple_test9.c new file mode 100644 index 0000000000..e8df1b9afb --- /dev/null +++ b/util/romcc/tests/simple_test9.c @@ -0,0 +1,12 @@ + + +void main(void) +{ + static const char msg[] = "hello world\r\n"; + char *str; + char ch; + str = msg; + do { + ch = *str++; + } while(ch); +} |