6 lines · c
1// RUN: %clang_cc1 -verify %s2// RUN: %clang_cc1 -verify=good -Wno-tentative-definition-array %s3// good-no-diagnostics4 5int foo[]; // expected-warning {{tentative array definition assumed to have one element}}6 1// RUN: %clang_cc1 -verify %s2// RUN: %clang_cc1 -verify=good -Wno-tentative-definition-array %s3// good-no-diagnostics4 5int foo[]; // expected-warning {{tentative array definition assumed to have one element}}6