Files

18 lines
368 B
C

/*
* GL 2.1 No extensions, with aliasing
*
* GLAD: $GLAD --out-path=$tmp --api="gl:compatibility=2.1" --extensions="" c --loader --alias
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/gl.c -ldl
* RUN: $tmp/test
*/
#include <glad/gl.h>
#ifndef GL_KHR_debug /* extension should be added by aliasing */
#error
#endif
int main(void) {
return 0;
}