minix/external/bsd/llvm/dist/clang/test/Sema/warn-missing-braces.c

4 lines
165 B
C
Raw Normal View History

// 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}}