summaryrefslogtreecommitdiffstats
path: root/test/Sema/warn-missing-braces.c
blob: ebfe9848306da9dc5f5c34b96e2a7f87409d8bb1 (plain)
1
2
3
// 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}}
OpenPOWER on IntegriCloud