summaryrefslogtreecommitdiff
path: root/unittest/examples/core-t.c
blob: 3572d72868ba2e17c55cbb12956a898be78b9431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#include "my_config.h"

#include <stdlib.h>
#include <tap.h>

/*
  This is a simple test to demonstrate what happens if a signal that
  generates a core is raised.

  Note that this test will stop all further testing!
 */

int main() {
  plan(3);
  ok(1, "First test");
  abort();
  return exit_status();
}