Sign in
gnu
/
gcc
/
refs/heads/releases/gcc-9
/
.
/
gcc
/
testsuite
/
gcc.target
/
avr
/
progmem-error-1.cpp
blob: b1676c11e00d74bf87e1dc6a5729aa3784f5e166 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
#include
"progmem.h"
char
str
[]
PROGMEM
=
"Hallo"
;
/* This is the line number of the PROGMEM definition in progmem.h. Keep it
absolute. */
/* { dg-error "must be const" "" { target avr-*-* } 1 } */