From b30eeaf1f6d72856777d49c702e5ac030b0a7ba9 Mon Sep 17 00:00:00 2001 From: mutouyun Date: Sun, 27 Feb 2022 21:01:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83ut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/test_detect_plat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_detect_plat.cpp b/test/test_detect_plat.cpp index ca62b1c..001a350 100644 --- a/test/test_detect_plat.cpp +++ b/test/test_detect_plat.cpp @@ -51,10 +51,10 @@ TEST(detect_plat, byte_order) { TEST(detect_plat, fallthrough) { switch (0) { - case 1: + case 0: std::cout << "fallthrough 0\n"; LIBIPC_FALLTHROUGH; - case 0: + case 1: std::cout << "fallthrough 1\n"; LIBIPC_FALLTHROUGH; default: