1 // RUN: %clang_cc1 -Wchar-subscripts -fsyntax-only -verify %s
7 int val
= array
[subscript
]; // expected-warning{{array subscript is of type 'char'}}
14 int val
= subscript
[array
]; // expected-warning{{array subscript is of type 'char'}}
18 t1
<char>(); // expected-note {{in instantiation of function template specialization 't1<char>' requested here}}
19 t2
<char>(); // expected-note {{in instantiation of function template specialization 't2<char>' requested here}}