summaryrefslogtreecommitdiff
path: root/support/regression/fwk/lib/extern1.c
blob: c3974972ef380514a51d8717db85ef60004b20e5 (plain) (blame)
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
26
27
28
/* needed by tests/inline.c */

#ifdef __SDCC
#pragma std_sdcc99
#endif

/*--------------
    bug 2591
    extern definition with parameters not in registers
	these parameters should only be allocated here
    the corresponding inline definition is in tests/inline.c
*/
extern long bug_2591 (long a, long b, long c)
{
  return a | b | c;
}

extern char inlined_function (void)
{
	return 2;
}

/* needed by tests/test-p99-conformance.c */
void
has_undefined_symbol2(void) {
  /* empty */
}