Skip to content

Commit 5526c42

Browse files
committed
Add test for #190
1 parent deed147 commit 5526c42

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ticketsBroken=(
1515
"T0167.hs"
1616
"T0178.hs"
1717
"T0189.y"
18+
"T0190.hs"
1819
)
1920

2021
# Colours used to display test outputs.

test/tickets/T0190.hs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-- SYNTAX TEST "source.haskell" "Type variables in foreign import/export"
2+
3+
foreign import ccall unsafe "memcmp"
4+
memcmp :: Ptr a -> Ptr ( b :: ty ) -> CSize -> IO CInt
5+
-- ^ ^ ^^ - entity.name.function.haskell
6+
-- ^ ^ ^^ variable.other.generic-type.haskell
7+
-- ^^ ^^ ^^ keyword.operator.arrow.haskell
8+
-- ^^^ ^^^ ^^^^^ ^^ ^^^^ storage.type.haskell

0 commit comments

Comments
 (0)