diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2019-10-17 10:21:08 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2019-10-17 10:21:08 +0000 |
commit | 7fa848b52615cc1e937c07b20e640a7379bbdfa0 (patch) | |
tree | c0f4b9f8b75c79fba8a34659a52492c206c3e71d /gcc | |
parent | e9934c8c081bb4b412684809e1d8a1293c7ea21f (diff) | |
download | gcc-7fa848b52615cc1e937c07b20e640a7379bbdfa0.zip gcc-7fa848b52615cc1e937c07b20e640a7379bbdfa0.tar.gz gcc-7fa848b52615cc1e937c07b20e640a7379bbdfa0.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/avr/progmem-error-1.cpp | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 38dd0d2..65e80d5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp b/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp index b1676c1..a948819 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-*-* } } */ |