nixpkgs/pkgs/tools/virtualization/multipass/test_unreachable_call.patch
2024-07-24 16:53:11 +01:00

13 lines
413 B
Diff

diff --git a/tests/test_common_callbacks.cpp b/tests/test_common_callbacks.cpp
index ccae78e0..f9ab4423 100644
--- a/tests/test_common_callbacks.cpp
+++ b/tests/test_common_callbacks.cpp
@@ -73,6 +73,7 @@ struct TestLoggingSpinnerCallbacks : public TestSpinnerCallbacks, public WithPar
default:
assert(false && "shouldn't be here");
}
+ __builtin_unreachable();
}
};