mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 06:33:06 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
16
spec/tests/llvm/test_constants.txt
Normal file
16
spec/tests/llvm/test_constants.txt
Normal 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
|
30
spec/tests/llvm/test_vectors.txt
Normal file
30
spec/tests/llvm/test_vectors.txt
Normal 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
|
Reference in New Issue
Block a user