aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/c/sched1.c
blob: 0a461b27c6526d0e0a7cbf055f40335793f99822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
#progos: linux
*/

#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);
}