Update examples
This commit is contained in:
9
testsuite/pdynload/badint/api/API.hs
Normal file
9
testsuite/pdynload/badint/api/API.hs
Normal file
@ -0,0 +1,9 @@
|
||||
module API where
|
||||
|
||||
data Interface = Interface {
|
||||
transform :: String -> String
|
||||
}
|
||||
|
||||
rsrc :: Interface
|
||||
rsrc = Interface { transform = id }
|
||||
|
Reference in New Issue
Block a user