progmem-error-1.cpp: Fix location of the expected diagnostic.
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 17 Oct 2019 10:21:08 +0000 (10:21 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 17 Oct 2019 10:21:08 +0000 (10:21 +0000)
gcc/testsuite/
* gcc.target/avr/progmem-error-1.cpp: Fix location of the
expected diagnostic.

From-SVN: r277096

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/progmem-error-1.cpp

index 38dd0d2c253403a00dc67f3659343d322721ee01..65e80d5abb2703e70672c643e15b48c2c0e13dca 100644 (file)
@@ -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
index b1676c11e00d74bf87e1dc6a5729aa3784f5e166..a948819f846f09a84609eb699c8c3fbceee196ab 100644 (file)
@@ -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-*-* } } */