PR target/84226
[official-gcc.git] / gcc / testsuite / gcc.target / avr / progmem-error-1.cpp
blobb1676c11e00d74bf87e1dc6a5729aa3784f5e166
1 /* { dg-do compile } */
3 #include "progmem.h"
5 char str[] PROGMEM = "Hallo";
6 /* This is the line number of the PROGMEM definition in progmem.h. Keep it
7 absolute. */
8 /* { dg-error "must be const" "" { target avr-*-* } 1 } */