summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-2842.c
blob: 88920a7604f7eff432f73aab2079158a9bcb5993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
   bug-2842.c
   Duplicate typedefs to same type were rejected even in C11 mode.
*/

#include <testfwk.h>

#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
typedef int i_t;
typedef int i_t;
#endif

void testBug(void)
{
}