summaryrefslogtreecommitdiff
path: root/support/regression/tests/implicit_int.c
blob: 536524090d51c621e5b9d92f12a62a394daed185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
   The C90 implicit int rule
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c89
#pragma disable_warning 85
#pragma disable_warning 225

static x;
volatile y;
#endif

void testint(void)
{
#ifdef __SDCC // Don't know how to set host compiler to C90 mode.
	auto a;
	static b;
	register c;
	volatile d;
#endif
}