struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / increment.c.in
blobbfbb22a0550b61aa573e24dc67f7cdc811dd6ca3
1 /** Simple test for increment
3 type: signed char, int, long
4 storage: static,
5 attr: volatile
6 */
7 #include <testfwk.h>
9 static void
10 testIncrement(void)
12 {attr} {storage} {type} i;
13 i = 0;
14 i--;
15 ASSERT(i == -1);