fix(userspace/apps/test): fix noreturn compiler warning

fix "warning: 'noreturn' function does return"

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-03-03 00:58:19 +00:00
parent bd02b976a2
commit 451c5405e0
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -21,6 +21,7 @@
__attribute__((noreturn)) __attribute__((no_stack_protector)) void __stack_chk_fail(void)
{
_exit(0xbeef);
__builtin_unreachable();
}
int sample_test_pass()