This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch,avr,testsuite,committed]: Fix location of an expected diagnostic.
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Denis Chertykov <chertykov at gmail dot com>
- Date: Thu, 17 Oct 2019 12:27:20 +0200
- Subject: [patch,avr,testsuite,committed]: Fix location of an expected diagnostic.
Hi, committed this patchlet that fixes a test case.
Johann
* gcc.target/avr/progmem-error-1.cpp: Fix location of the
expected diagnostic.
Index: gcc.target/avr/progmem-error-1.cpp
===================================================================
--- gcc.target/avr/progmem-error-1.cpp (revision 277095)
+++ gcc.target/avr/progmem-error-1.cpp (revision 277096)
@@ -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-*-* } } */