This commit is contained in:
mutouyun 2022-02-27 21:01:54 +08:00
parent 21f34bd99c
commit b30eeaf1f6

View File

@ -51,10 +51,10 @@ TEST(detect_plat, byte_order) {
TEST(detect_plat, fallthrough) { TEST(detect_plat, fallthrough) {
switch (0) { switch (0) {
case 1: case 0:
std::cout << "fallthrough 0\n"; std::cout << "fallthrough 0\n";
LIBIPC_FALLTHROUGH; LIBIPC_FALLTHROUGH;
case 0: case 1:
std::cout << "fallthrough 1\n"; std::cout << "fallthrough 1\n";
LIBIPC_FALLTHROUGH; LIBIPC_FALLTHROUGH;
default: default: