Fortran: Fix PR 47485.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr86124.c
blobebcaed78842644c2d06539fbc47050cbe72e2aae
1 /* { dg-do compile } */
2 /* { dg-options "-O -fipa-pta" } */
4 extern void a (void);
6 void b (void)
8 void *c;
9 c = a;
10 *(char *)c = 1; /* { dg-warning "accessing data memory with program memory address.*" "" { target avr-*-* } } */