diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-05-13 06:41:19 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-05-13 06:43:31 +0000 |
commit | a7b7818f3dbd14cc7577d25dcebaded07395c476 (patch) | |
tree | fe6ab488ee169f59cd409760ba67d63d78228488 | |
parent | f6e1a4cd83190746b6544917f7526fa480ca5f18 (diff) | |
download | gcc-a7b7818f3dbd14cc7577d25dcebaded07395c476.zip gcc-a7b7818f3dbd14cc7577d25dcebaded07395c476.tar.gz gcc-a7b7818f3dbd14cc7577d25dcebaded07395c476.tar.bz2 |
[PR 95013] Fix gcc.dg/unclosed-init.c
2020-05-13 Christophe Lyon <christophe.lyon@linaro.org>
PR preprocessor/95013
* gcc.dg/unclosed-init.c: Add missing comment in dg-error.
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/unclosed-init.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a4215b..03b61dd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-05-13 Christophe Lyon <christophe.lyon@linaro.org> + + PR preprocessor/95013 + * gcc.dg/unclosed-init.c: Add missing comment in dg-error. + 2020-05-13 Bin Cheng <bin.cheng@linux.alibaba.com> PR tree-optimization/94969 diff --git a/gcc/testsuite/gcc.dg/unclosed-init.c b/gcc/testsuite/gcc.dg/unclosed-init.c index 16c42c4..0a0ca21 100644 --- a/gcc/testsuite/gcc.dg/unclosed-init.c +++ b/gcc/testsuite/gcc.dg/unclosed-init.c @@ -1,3 +1,3 @@ int unclosed[] = { /* { dg-message "18: to match this '.'" } */ 42 - /* { dg-error "-: expected '.' at end of input" { target *-*-* } .+1 } */ + /* { dg-error "-: expected '.' at end of input" "" { target *-*-* } .+1 } */ |