Home
last modified time | relevance | path

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

/external/clang/test/Sema/
Dwarn-outof-range-assign-enum.c4 typedef enum CCTestEnum enum
9 } CCTestEnum; typedef
11 CCTestEnum test = 50; // expected-warning {{integer constant not in range of enumerated type 'CCTes…
12 CCTestEnum test1 = -50; // expected-warning {{integer constant not in range of enumerated type 'CCT…
15 static const CCTestEnum SilenceWithCast1 = 51; // expected-warning {{integer constant not in range …
16 static const CCTestEnum SilenceWithCast2 = (CCTestEnum) 51; // no-warning
17 static const CCTestEnum SilenceWithCast3 = (const CCTestEnum) 51; // no-warning
18 static const CCTestEnum SilenceWithCast4 = (const volatile CCTestEnum) 51; // no-warning
21CCTestEnum SilenceWithCast1 = 51; // expected-warning {{integer constant not in range of enumerate… in SilenceWithCastLocalVar()
22 CCTestEnum SilenceWithCast2 = (CCTestEnum) 51; // no-warning in SilenceWithCastLocalVar()
[all …]