1 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 template <bool, typename
>
10 // expected-error@-1 {{'arr' declared as an array with a negative size}}
16 // expected-note@-1 {{in instantiation of function template specialization '(anonymous namespace)::Foo<-1>' requested here}}
19 template <bool, typename
>
25 // expected-error@-1 {{'arr' declared as an array with a negative size}}
30 // expected-note@-1 {{in instantiation of function template specialization 'Bar<-1>' requested here}}