Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56228.c
blobf1221b9d779b4f635f0057ab8a4218cc70728a91
1 /* PR target/56228 */
2 /* { dg-do assemble } */
3 /* { dg-options "-O2" } */
4 /* { dg-skip-if "accessing program memory with data memory address" { "avr-*-*" } { "*" } { "" } } */
6 short a[14] = { 1, 2 };
7 short b[15] = { 3, 4 };
9 int
10 foo ()
12 void (*fna) (void) = (void (*) (void)) a;
13 void (*fnb) (void) = (void (*) (void)) b;
14 fna ();
15 fnb ();
16 return a[1] == b[1];