Home
last modified time | relevance | path

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

/external/clang/test/Sema/
Dconditional-expr.c64 int *nonconst_int; in foo() local
65 …*(test0 ? const_int : nonconst_int) = 42; // expected-error {{read-only variable is not assignable… in foo()
66 …*(test0 ? nonconst_int : const_int) = 42; // expected-error {{read-only variable is not assignable… in foo()
79 …(test0 ? (test0 ? adr2 : adr2) : nonconst_int); // expected-warning {{pointer type mismatch}} expe… in foo()