Imported Upstream version 2.9.0
[debian/cc1111] / support / regression / tests / increment.c
1 /** Simple test for increment
2
3     type: signed char, int, long
4     storage: static, 
5     attr: volatile
6 */
7 #include <testfwk.h>
8
9 static void
10 testIncrement(void)
11 {
12     {attr} {storage} {type} i;
13     i = 0;
14     i--;
15     ASSERT(i == -1);
16 }