llvm/clang/test/Sema/arg-scope.c

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
void aa(int b, int x[sizeof b]) {}

void foo(int i, int A[i]) {}