HomeSort by relevance Sort by last modified time
    Searched refs:MY_SWITCH2 (Results 1 - 2 of 2) sorted by null

  /external/clang/test/SemaCXX/
switch-implicit-fallthrough-cxx98.cpp 98 #define MY_SWITCH2(X, Y, Z) switch (X) { Y; Z; }
117 MY_SWITCH2(n + 4, MY_CASE(17, n *= 3), MY_CASE(19, break)) // expected-warning{{unannotated fall-through between switch labels}}
119 MY_SWITCH2(n + 5, MY_CASE(21, break), MY_CASE2(23, n *= 7, 25, break)) // expected-warning{{unannotated fall-through between switch labels}}
switch-implicit-fallthrough.cpp 149 #define MY_SWITCH2(X, Y, Z) switch (X) { Y; Z; }
168 MY_SWITCH2(n + 4, MY_CASE(17, n *= 3), MY_CASE(19, break)) // expected-warning{{unannotated fall-through between switch labels}}
170 MY_SWITCH2(n + 5, MY_CASE(21, break), MY_CASE2(23, n *= 7, 25, break)) // expected-warning{{unannotated fall-through between switch labels}}

Completed in 209 milliseconds