xref: /llvm-project/clang/test/Sema/tentative-array-decl.c (revision 5278594d7ef8c6814578f2f600016fef5ad058c9)
1 // RUN: %clang_cc1 -verify %s
2 // RUN: %clang_cc1 -verify=good -Wno-tentative-definition-array %s
3 // good-no-diagnostics
4 
5 int foo[]; // expected-warning {{tentative array definition assumed to have one element}}
6