diff options
author | Eric Anholt <[email protected]> | 2010-08-17 17:50:05 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-17 17:51:10 -0700 |
commit | ede67e307142000a408e40b637132700a4dc2808 (patch) | |
tree | e86f0a79c7988b7e0465708d677421200d64dfee /src/glsl/glcpp/tests/087-if-comments.c | |
parent | edb465e9bb1b45a6db5aca85a002c0f4958deff0 (diff) |
glcpp: Add testcase for #if handling bug that breaks Savage2.
Diffstat (limited to 'src/glsl/glcpp/tests/087-if-comments.c')
-rw-r--r-- | src/glsl/glcpp/tests/087-if-comments.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/087-if-comments.c b/src/glsl/glcpp/tests/087-if-comments.c new file mode 100644 index 00000000000..ce8dc43057f --- /dev/null +++ b/src/glsl/glcpp/tests/087-if-comments.c @@ -0,0 +1,5 @@ +#if (1 == 0) // dangerous comment +fail +#else +win +#endif |