Home
last modified time | relevance | path

Searched refs:const_int8 (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/Sema/
Dsizeless-1.c95 const svint8_t const_int8 = local_int8; // expected-note {{declared const here}} in func() local
126 init_int8 = const_int8; in func()
130const_int8 = local_int8; // expected-error {{cannot assign to variable 'const_int8' with const-qua… in func()
133 volatile_int8 = const_int8; in func()
140 init_int8 = sel ? init_int8 : const_int8; in func()
141 init_int8 = sel ? volatile_int8 : const_int8; in func()
151 dump(&const_int8); in func()
158 *&const_int8 = local_int8; // expected-error {{read-only variable is not assignable}} in func()
/external/llvm-project/clang/test/SemaCXX/
Dsizeless-1.cpp110 const svint8_t const_int8 = local_int8; // expected-note {{declared const here}} in func() local
141 init_int8 = const_int8; in func()
145const_int8 = local_int8; // expected-error {{cannot assign to variable 'const_int8' with const-qua… in func()
148 volatile_int8 = const_int8; in func()
155 init_int8 = sel ? init_int8 : const_int8; in func()
156 init_int8 = sel ? volatile_int8 : const_int8; in func()
166 dump(&const_int8); in func()
173 *&const_int8 = local_int8; // expected-error {{read-only variable is not assignable}} in func()