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

#include <poll.h>

int main(int argc, char** argv) {
  struct pollfd buffer[12] = {0};

  CHK_FAIL_START
  poll(buffer, 14, 0);
  CHK_FAIL_END

  puts((const char*)buffer);
  return ret;
}