[testsuite][aarch64] type_redef_11.c: Update expected diagnostics.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 6 Dec 2019 10:54:46 +0000 (10:54 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Fri, 6 Dec 2019 10:54:46 +0000 (11:54 +0100)
After the fix for PR c/36941 and PR c/88827 (r278976), this test emits
a different error message and needs an update.

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.

From-SVN: r279039

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c

index bcc65f27336290e18b2c5b4dec44d30626ec0be0..7d789fc3d93e2003c9bb299e2624f9cf7333ee40 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2019-12-06  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/92819
index 2147df72cfd23041876414cb4bc93a195031d053..5af35b9584670404fef16ce913926916caba8e66 100644 (file)
@@ -8,5 +8,5 @@ struct svint8x2_t;
 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} } */
 }