diff options
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/141-pragma-and-__LINE__.c')
-rw-r--r-- | src/compiler/glsl/glcpp/tests/141-pragma-and-__LINE__.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/141-pragma-and-__LINE__.c b/src/compiler/glsl/glcpp/tests/141-pragma-and-__LINE__.c new file mode 100644 index 0000000..a93f3ce --- /dev/null +++ b/src/compiler/glsl/glcpp/tests/141-pragma-and-__LINE__.c @@ -0,0 +1,6 @@ +Line 1 /* Test for a bug where #pragma was throwing off the __LINE__ count. */ +Line __LINE__ /* Line 2 */ +#pragma Line 3 +Line __LINE__ /* Line 4 */ +#pragma Line 5 +Line __LINE__ /* Line 6 */ |