1 #include <GL/glut.h>
2 #include <stdio.h>
3 
main()4 int main()
5 {
6   /* The following should call exit(1) and print
7       freeglut  ERROR:  Function <glutCreateWindow> called
8       without first calling 'glutInit'.
9     to stderr */
10   glutCreateWindow("gluttest");
11 }
12