[avr,testsuite,committed] : Fix location of an expected diagnostic.
diff mbox series

Message ID 790a4096-78b2-fde5-51df-82f375e66398@gjlay.de
State New
Headers show
Series
  • [avr,testsuite,committed] : Fix location of an expected diagnostic.
Related show

Commit Message

Georg-Johann Lay Oct. 17, 2019, 10:27 a.m. UTC
Hi, committed this patchlet that fixes a test case.

Johann

	* gcc.target/avr/progmem-error-1.cpp: Fix location of the
	expected diagnostic.

-/* { dg-error "must be const" "" { target avr-*-* } 1 } */
+char str[] PROGMEM = "Hallo"; /* { dg-error "must be const" "" { target 
avr-*-* } } */

Patch
diff mbox series

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.  */