progmem-error-1.cpp: Fix location of the expected diagnostic.
gcc/testsuite/ * gcc.target/avr/progmem-error-1.cpp: Fix location of the expected diagnostic. From-SVN: r277096
This commit is contained in:
parent
e9934c8c08
commit
7fa848b526
|
@ -1,3 +1,8 @@
|
|||
2019-10-17 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
* gcc.target/avr/progmem-error-1.cpp: Fix location of the
|
||||
expected diagnostic.
|
||||
|
||||
2019-10-17 Feng Xue <fxue@os.amperecomputing.com>
|
||||
|
||||
PR testsuite/92125
|
||||
|
|
|
@ -2,7 +2,4 @@
|
|||
|
||||
#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 } */
|
||||
char str[] PROGMEM = "Hallo"; /* { dg-error "must be const" "" { target avr-*-* } } */
|
||||
|
|
Loading…
Reference in New Issue