From 983749787ee0dc1beb1107873e8a13ebdaeba576 Mon Sep 17 00:00:00 2001 From: Derick Huth Date: Mon, 18 Jan 2016 15:43:52 -0700 Subject: restore test suite --- .../test-cases/examples/chill/test_lex_order.c | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test-chill/test-cases/examples/chill/test_lex_order.c (limited to 'test-chill/test-cases/examples/chill/test_lex_order.c') diff --git a/test-chill/test-cases/examples/chill/test_lex_order.c b/test-chill/test-cases/examples/chill/test_lex_order.c new file mode 100644 index 0000000..1a3b26d --- /dev/null +++ b/test-chill/test-cases/examples/chill/test_lex_order.c @@ -0,0 +1,31 @@ +int main() { + + int m, n; + int a[10]; + int b[10]; + int c[10]; + int i, j; + for (i = 0; i < n; i++) { + for (j = 0; j < n; j++) { + b[j] = a[j]; + } + + + + for (j = 0; j < n; j++) { + a[j+1] = 6; + } + + for (j = 0; j < n; j++) { + c[j] = a[j]; + } + + + + + } + + return 0; + +} + -- cgit v1.2.3-70-g09d2