From: Georg-Johann Lay Date: Thu, 17 Oct 2019 10:21:08 +0000 (+0000) Subject: progmem-error-1.cpp: Fix location of the expected diagnostic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fa848b52615cc1e937c07b20e640a7379bbdfa0;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 38dd0d2c253..65e80d5abb2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-10-17 Georg-Johann Lay + + * gcc.target/avr/progmem-error-1.cpp: Fix location of the + expected diagnostic. + 2019-10-17 Feng Xue PR testsuite/92125 diff --git a/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp b/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp index b1676c11e00..a948819f846 100644 --- a/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp +++ b/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp @@ -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-*-* } } */