Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/vect/pr49318.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ /* { dg-require-effective-target vect_float } */ typedef enum { GL_FALSE } GLenum; typedef unsigned char GLboolean; typedef int GLint; typedef unsigned int GLuint; typedef float GLfloat; typedef double GLdouble; typedef struct gl_context GLcontext; struct gl_context { GLfloat TextureMatrix[16]; GLenum Primitive; }; void gl_GetDoublev( GLcontext *ctx, GLenum pname, GLdouble *params ) { GLuint i; for (i=0; i<16; i++) params[i] = (GLint) ctx->TextureMatrix[i]; }