aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/avr/pr71627.c
blob: c5f15146aceaeb0e5fe07f045a04b8ae7eea7a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile { target { ! avr_tiny } } } */
/* { dg-options "-O1" } */


extern volatile __memx const long  a, b, c, d, e, f;
extern volatile long result;

extern void vfunc (const char*, ...);

void foo (void)
{
	result = a + b + c + d + e + f;
	vfunc ("text", a, b, c, d, e, f, result);
}