summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qprocess/crasher.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/io/qprocess/crasher.h')
-rw-r--r--tests/auto/corelib/io/qprocess/crasher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qprocess/crasher.h b/tests/auto/corelib/io/qprocess/crasher.h
index 7d55bf980f..f1ca82a86b 100644
--- a/tests/auto/corelib/io/qprocess/crasher.h
+++ b/tests/auto/corelib/io/qprocess/crasher.h
@@ -45,6 +45,8 @@ void crash()
{
#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
__ud2();
+#elif defined(_MSC_VER) && defined(_M_ARM64)
+ __debugbreak();
#elif __has_builtin(__builtin_trap)
__builtin_trap();
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))