public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed][testsuite][aarch64] type_redef_11.c: Update expected diagnostics.
@ 2019-12-06 10:56 Christophe Lyon
  0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2019-12-06 10:56 UTC (permalink / raw)
  To: gcc Patches

Hi,

After the fix for PR c/36941 and PR c/88827 (r278976), this test emits
a different error message and needs an update.

I've committed this as r279039.

Christophe

2019-12-06  Christophe Lyon  <christophe.lyon@linaro.org>

        PR c/36941
        PR c/88827
        * gcc.target/aarch64/sve/acle/general-c/type_redef_11.c: Update
        expected diagnostics.

Index: gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c
===================================================================
--- gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c
(revision 279038)
+++ gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c
(revision 279039)
@@ -8,5 +8,5 @@
 void
 f (svint8x2_t *a, struct svint8x2_t *b)
 {
-  *a = *b; /* { dg-error {dereferencing pointer to incomplete type} } */
+  *a = *b; /* { dg-error {invalid use of undefined type} } */
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-06 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 10:56 [committed][testsuite][aarch64] type_redef_11.c: Update expected diagnostics Christophe Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).