This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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-*-* } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]