diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/glcpp/tests/105-multiline-hash-line.c | 5 | ||||
-rw-r--r-- | src/glsl/glcpp/tests/105-multiline-hash-line.c.expected | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/105-multiline-hash-line.c b/src/glsl/glcpp/tests/105-multiline-hash-line.c new file mode 100644 index 00000000000..da156c6a596 --- /dev/null +++ b/src/glsl/glcpp/tests/105-multiline-hash-line.c @@ -0,0 +1,5 @@ +#define X(x) x +#line X( \ + 1 \ + ) +#line 2 diff --git a/src/glsl/glcpp/tests/105-multiline-hash-line.c.expected b/src/glsl/glcpp/tests/105-multiline-hash-line.c.expected new file mode 100644 index 00000000000..fb8e1504c7c --- /dev/null +++ b/src/glsl/glcpp/tests/105-multiline-hash-line.c.expected @@ -0,0 +1,6 @@ + +#line 1 + + +#line 2 + |