diff options
author | Carl Worth <[email protected]> | 2012-11-28 12:57:09 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2012-11-29 13:03:01 -0800 |
commit | c86eb0cd65f04a242952bfc610d80341673b3d52 (patch) | |
tree | 44282439429be31053fc706af97d1990ec06a6d2 /src/glsl/glcpp/tests/082-invalid-paste.c.expected | |
parent | 01b83171c9d5529a9660ba404cc059daa318fc64 (diff) |
glcpp: Extend the invalid-paste test
The current code lets a few invalid pastes through, such as an string pasted
onto the end of an integer. Extend the invalid-paste test to catch some of
these.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests/082-invalid-paste.c.expected')
-rw-r--r-- | src/glsl/glcpp/tests/082-invalid-paste.c.expected | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/082-invalid-paste.c.expected b/src/glsl/glcpp/tests/082-invalid-paste.c.expected index 2c924406b59..2dd21c0635e 100644 --- a/src/glsl/glcpp/tests/082-invalid-paste.c.expected +++ b/src/glsl/glcpp/tests/082-invalid-paste.c.expected @@ -1,5 +1,20 @@ 0:2(7): preprocessor error: Pasting "<" and ">" does not give a valid preprocessing token. +0:3(7): preprocessor error: +Pasting "0" and "abc" does not give a valid preprocessing token. +0:4(7): preprocessor error: +Pasting "1" and "=" does not give a valid preprocessing token. +0:5(7): preprocessor error: +Pasting "2" and "@" does not give a valid preprocessing token. +0:6(7): preprocessor error: +Pasting "3" and "-" does not give a valid preprocessing token. +0:7(7): preprocessor error: +Pasting "4" and "+" does not give a valid preprocessing token. < +0 +1 +2 +34 +45.2 |