Re: [Mesa-dev] [PATCH] Add test to ensure compiler won't allow #undef for some builtins

2014-06-16 Thread Anuj Phogat
On Wed, Jun 11, 2014 at 5:32 PM, Carl Worth wrote: > Currently verifying that an #undef of __FILE__, __LINE__, or __VERSION__ will > generate an error. > --- > src/glsl/glcpp/tests/120-undef-builtin.c | 3 +++ > src/glsl/glcpp/tests/120-undef-builtin.c.expected | 7 +++ > 2 files cha

[Mesa-dev] [PATCH] Add test to ensure compiler won't allow #undef for some builtins

2014-06-11 Thread Carl Worth
Currently verifying that an #undef of __FILE__, __LINE__, or __VERSION__ will generate an error. --- src/glsl/glcpp/tests/120-undef-builtin.c | 3 +++ src/glsl/glcpp/tests/120-undef-builtin.c.expected | 7 +++ 2 files changed, 10 insertions(+) create mode 100644 src/glsl/glcpp/tests/