https://gcc.gnu.org/g:ce8a84ba6719a71365b611a94cc2454dd157f3b2

commit r16-7331-gce8a84ba6719a71365b611a94cc2454dd157f3b2
Author: Jakub Jelinek <[email protected]>
Date:   Thu Feb 5 15:17:56 2026 +0100

    testsuite: Add testcase for PR [PR123882]
    
    I've reverted the PR101312 changes in order to fix this PR.
    Here I'm just adding new testcase.
    
    2026-02-05  Jakub Jelinek  <[email protected]>
    
            PR c/123882
            * gcc.dg/pr123882.c: New test.

Diff:
---
 gcc/testsuite/gcc.dg/pr123882.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gcc/testsuite/gcc.dg/pr123882.c b/gcc/testsuite/gcc.dg/pr123882.c
new file mode 100644
index 000000000000..4b87552c9990
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pr123882.c
@@ -0,0 +1,7 @@
+/* PR c/123882 */
+/* { dg-do compile } */
+/* { dg-options "-std=c23" } */
+
+typedef int T;
+void foo (unsigned long, T[]);
+void foo (unsigned long x, T[restrict x]);

Reply via email to