1 /*
2 * Check whether the kernel supports MIPS n64 syscalls.
3 *
4 * Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io>
5 * All rights reserved.
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #include "tests.h"
11
12 #ifdef MIPS
13
14 int
15 main(void)
16 {
17 __asm__(".set noreorder; li $a0, 0; li $v0, 5058; syscall");
18 return 77;
19 }
20
21 #else
22
23 SKIP_MAIN_UNDEFINED("MIPS")
24
25 #endif