mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:57:35 +00:00
LibGLSL: Add tests for GLSL parser
This commit is contained in:
parent
29972876e4
commit
d160ff2f8d
24 changed files with 368 additions and 0 deletions
11
Userland/Libraries/LibGLSL/Tests/parser/discard.ast
Normal file
11
Userland/Libraries/LibGLSL/Tests/parser/discard.ast
Normal file
|
@ -0,0 +1,11 @@
|
|||
TranslationUnit[0:0->3:0]
|
||||
FunctionDeclaration[0:0->3:0]
|
||||
Type[0:0->0:3]
|
||||
void
|
||||
foo
|
||||
(
|
||||
)
|
||||
FunctionDefinition[1:0->3:0]
|
||||
{
|
||||
DiscardStatement[2:4->2:11]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue