From a7b7818f3dbd14cc7577d25dcebaded07395c476 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 13 May 2020 06:41:19 +0000 Subject: [PATCH] [PR 95013] Fix gcc.dg/unclosed-init.c 2020-05-13 Christophe Lyon PR preprocessor/95013 * gcc.dg/unclosed-init.c: Add missing comment in dg-error. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/unclosed-init.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a4215bbe46..03b61dd1658 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-05-13 Christophe Lyon + + PR preprocessor/95013 + * gcc.dg/unclosed-init.c: Add missing comment in dg-error. + 2020-05-13 Bin Cheng PR tree-optimization/94969 diff --git a/gcc/testsuite/gcc.dg/unclosed-init.c b/gcc/testsuite/gcc.dg/unclosed-init.c index 16c42c43e55..0a0ca218404 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 } */ -- 2.30.2