Add compile command to each testcase
[gcc-vect-testsuite.git] / pr49318.c
blobd1c270d6870c402867d7775243c4f632ff5552d8
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-require-effective-target vect_float } */
5 typedef enum { GL_FALSE } GLenum;
6 typedef unsigned char GLboolean;
7 typedef int GLint;
8 typedef unsigned int GLuint;
9 typedef float GLfloat;
10 typedef double GLdouble;
11 typedef struct gl_context GLcontext;
12 struct gl_context {
13 GLfloat TextureMatrix[16];
14 GLenum Primitive;
16 void gl_GetDoublev( GLcontext *ctx, GLenum pname, GLdouble *params ) {
17 GLuint i;
18 for (i=0; i<16; i++)
19 params[i] = (GLint) ctx->TextureMatrix[i];
22 /* { dg-final { cleanup-tree-dump "vect" } } */