1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2016 Cyril Hrubis <chrubis@suse.cz> 4 */ 5 6 /* 7 * The test should abort when oldlib function is called from newlib. 8 */ 9 10 #include "tst_test.h" 11 12 void tst_exit(void); 13 do_test(void)14static void do_test(void) 15 { 16 tst_exit(); 17 } 18 19 static struct tst_test test = { 20 .test_all = do_test, 21 }; 22