================
@@ -9,20 +9,20 @@ typedef int (*T)[2];
 restrict T x;
 
 typedef int *S[2];
-restrict S y; // expected-error {{restrict requires a pointer or reference 
('S' (aka 'int *[2]') is invalid)}}
-
-
+restrict S y;
----------------
a-tarasyuk wrote:

@AaronBallman thanks for the feedback. I've added additional tests  

https://github.com/llvm/llvm-project/pull/120896
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to