mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 13:30:11 +01:00
glcpp: Add test case for recently fixed loop-control underflow bug.
To trigger the bug, it suffices to have a line-continuation followed by a newline and then a non-line-continuation backslash. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
d8eeb1d330
commit
610fe6da79
2 changed files with 25 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
/* This test case is the minimal case to replicate the bug reported here:
|
||||
*
|
||||
* https://bugs.freedesktop.org/show_bug.cgi?id=65112
|
||||
*
|
||||
* To trigger the bug, there must be a line-continuation sequence
|
||||
* (backslash newline), then an additional newline character, and
|
||||
* finally another backslash that is not part of a line-continuation
|
||||
* sequence.
|
||||
*/
|
||||
\
|
||||
|
||||
/* \ */
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue