llvm-for-llvmta/tools/clang/test/Sema/warn-missing-braces.c

4 lines
165 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -Wmissing-braces -verify %s
int a[2][2] = { 0, 1, 2, 3 }; // expected-warning{{suggest braces}} expected-warning{{suggest braces}}