1 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
5 int a
[] = { 1, 2, 3, N
};
6 unsigned numAs
= sizeof(a
) / sizeof(int);
14 int a0
[] = {}; // expected-warning{{zero}}
15 int a1
[] = { 1, 2, 3, N
};
16 int a3
[sizeof(a1
)/sizeof(int) != 4? 1 : -1]; // expected-error{{negative}}
20 template <unsigned __N
>
26 S
<0> arr
[N
] = {{ 4 }};