Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View File

@ -0,0 +1,16 @@
---input---
0xA01B 0xKA01B 0xLA01B 0xMA01B 0xHA01B 0xRA01B
---tokens---
'0xA01B' Literal.Number
' ' Text.Whitespace
'0xKA01B' Literal.Number
' ' Text.Whitespace
'0xLA01B' Literal.Number
' ' Text.Whitespace
'0xMA01B' Literal.Number
' ' Text.Whitespace
'0xHA01B' Literal.Number
' ' Text.Whitespace
'0xRA01B' Literal.Number
'\n' Text.Whitespace

View File

@ -0,0 +1,30 @@
---input---
@constant.splat.i1 = constant <vscale x 1 x i1> splat (i1 true)
---tokens---
'@constant.splat.i1' Name.Variable.Global
' ' Text.Whitespace
'=' Punctuation
' ' Text.Whitespace
'constant' Keyword
' ' Text.Whitespace
'<' Punctuation
'vscale' Keyword
' ' Text.Whitespace
'x' Keyword
' ' Text.Whitespace
'1' Literal.Number
' ' Text.Whitespace
'x' Keyword
' ' Text.Whitespace
'i1' Keyword.Type
'>' Punctuation
' ' Text.Whitespace
'splat' Keyword
' ' Text.Whitespace
'(' Punctuation
'i1' Keyword.Type
' ' Text.Whitespace
'true' Keyword
')' Punctuation
'\n' Text.Whitespace