summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000502-1.c
blob: fcf7899a1598fe343bfd6ad3bd95ca7766d6ee1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
static int minimum(int a, int b)
{
	if(a < b)
		return a;
	else
		return b;
}
static int a, b;
static inline int foo(void)
{
	a = minimum (a, b);
	return 0;
}
static int bar(void)
{
	return foo();
}