Commit 7fa848b5 by Georg-Johann Lay Committed by Georg-Johann Lay

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
parent e9934c8c
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
......
......@@ -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-*-* } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment