* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr49318.c
blobabe76fa6b6b67f44c1599f471445f5932dbc0002
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];