~oif-team/grail/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Test that compile+link works with a C compiler.
 */

#include <stdio.h>
#include <oif/grail.h>

int main(int argc, char **argv) {
  void *dummy = grail_new;
  if (!dummy) {
    printf("This really should not be happening.\n");
    return 1;
  }
  return 0;
}