diff options
Diffstat (limited to 'src/glsl/glcpp/tests')
4 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/108-no-space-after-hash-version.c b/src/glsl/glcpp/tests/108-no-space-after-hash-version.c new file mode 100644 index 00000000000..0ce36f2eb1b --- /dev/null +++ b/src/glsl/glcpp/tests/108-no-space-after-hash-version.c @@ -0,0 +1 @@ +#version110 diff --git a/src/glsl/glcpp/tests/108-no-space-after-hash-version.c.expected b/src/glsl/glcpp/tests/108-no-space-after-hash-version.c.expected new file mode 100644 index 00000000000..da4544a55ca --- /dev/null +++ b/src/glsl/glcpp/tests/108-no-space-after-hash-version.c.expected @@ -0,0 +1,2 @@ +0:1(3): preprocessor error: Invalid tokens after # + diff --git a/src/glsl/glcpp/tests/109-no-space-after-hash-line.c b/src/glsl/glcpp/tests/109-no-space-after-hash-line.c new file mode 100644 index 00000000000..f52966a8e80 --- /dev/null +++ b/src/glsl/glcpp/tests/109-no-space-after-hash-line.c @@ -0,0 +1 @@ +#line2 diff --git a/src/glsl/glcpp/tests/109-no-space-after-hash-line.c.expected b/src/glsl/glcpp/tests/109-no-space-after-hash-line.c.expected new file mode 100644 index 00000000000..da4544a55ca --- /dev/null +++ b/src/glsl/glcpp/tests/109-no-space-after-hash-line.c.expected @@ -0,0 +1,2 @@ +0:1(3): preprocessor error: Invalid tokens after # + |