1 /** Tests declarations after statements within the same block (C99). 2 */ 3 #include <testfwk.h> 4 5 void testDeclAfterStmt(void)6 testDeclAfterStmt(void) 7 { 8 int a = 0; 9 a++; 10 int b = 1; 11 { 12 int a = 0; 13 } 14 int c = a + b; 15 ASSERT(c == 2); 16 } 17