1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* #notarget: cris*-*-elf */ #include <sched.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> int main (void) { if (sched_getscheduler (getpid ()) != SCHED_OTHER) abort (); printf ("pass\n"); exit (0); }