7eac97246777050c51c74342276cbb476dc29c09
[gcc.git] / gcc / testsuite / gcc.c-torture / compile / 920501-12.c
1 /* This test fails on HC11/HC12 when it is compiled without -mshort because
2 the stack arrays are too large. Force to use 16-bit ints for it. */
3 /* { dg-do assemble } */
4 /* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "-mshort" } } */
5
6 x(x){ return 3 + x;}
7 a(x){int y[994]; return 3 + x;}
8 b(x){int y[999]; return 2*(x + 3);}
9 A(x){int y[9999];return 2*(x + 3);}
10 B(x){int y[9949];return 3 + x;}