struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-2842.c
blob88920a7604f7eff432f73aab2079158a9bcb5993
1 /*
2 bug-2842.c
3 Duplicate typedefs to same type were rejected even in C11 mode.
4 */
6 #include <testfwk.h>
8 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
9 typedef int i_t;
10 typedef int i_t;
11 #endif
13 void testBug(void)