summaryrefslogtreecommitdiff
path: root/tests/test_select_static.c
blob: c2abf7fab7e8291a59ae126c2bf19d2da80fc48f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "common.h"

#include <sys/select.h>

int main(int argc, char** argv) {
#if !defined(__clang__)
  fd_set rfds;

  CHK_FAIL_START
  select(1337, &rfds, NULL, NULL, NULL);
  CHK_FAIL_END

  puts((const char*)&rfds);
#endif
  return ret;
}