repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/84226
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
avr
/
progmem-error-1.cpp
blob
b1676c11e00d74bf87e1dc6a5729aa3784f5e166
1
/* { dg-do compile } */
2
3
#include
"progmem.h"
4
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 } */