diff clang/test/Sema/assign.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children c4bab56944e8
line wrap: on
line diff
--- a/clang/test/Sema/assign.c	Mon May 25 11:55:54 2020 +0900
+++ b/clang/test/Sema/assign.c	Tue Jun 08 06:07:14 2021 +0900
@@ -6,7 +6,7 @@
   // expected-note@-1 {{variable 'x' declared const here}}
 
   x->a = 10;
-  // expected-error-re@-1 {{cannot assign to variable 'x' with const-qualified type 'const struct (anonymous struct at {{.*}}assign.c:5:19) *'}}
+  // expected-error-re@-1 {{cannot assign to variable 'x' with const-qualified type 'const struct (unnamed struct at {{.*}}assign.c:5:19) *'}}
 }
 
 typedef int arr[10];