diff options
author | Matt Turner <[email protected]> | 2012-11-06 15:36:15 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-11-09 14:33:08 -0800 |
commit | c3a15d9a35b70aa5b8135605d17db0c307a0eacf (patch) | |
tree | 599139de0445ef07bb4d734f6daf7c05a5a55d89 /src/glsl/glcpp/tests | |
parent | 9ad71c44fa316314551b8540241e81b296d35f44 (diff) |
glcpp/tests: Add test to check #line followed by code
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51802
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51506
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41152
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests')
-rw-r--r-- | src/glsl/glcpp/tests/104-hash-line-followed-by-code.c | 2 | ||||
-rw-r--r-- | src/glsl/glcpp/tests/104-hash-line-followed-by-code.c.expected | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/104-hash-line-followed-by-code.c b/src/glsl/glcpp/tests/104-hash-line-followed-by-code.c new file mode 100644 index 00000000000..3fbeec48e4c --- /dev/null +++ b/src/glsl/glcpp/tests/104-hash-line-followed-by-code.c @@ -0,0 +1,2 @@ +#line 2 +int foo(); diff --git a/src/glsl/glcpp/tests/104-hash-line-followed-by-code.c.expected b/src/glsl/glcpp/tests/104-hash-line-followed-by-code.c.expected new file mode 100644 index 00000000000..e89a2926fb0 --- /dev/null +++ b/src/glsl/glcpp/tests/104-hash-line-followed-by-code.c.expected @@ -0,0 +1,3 @@ +#line 2 +int foo(); + |