diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci042.script')
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci042.script | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci042.script b/testsuite/tests/ghci/scripts/ghci042.script new file mode 100644 index 0000000000..548f18c4b5 --- /dev/null +++ b/testsuite/tests/ghci/scripts/ghci042.script @@ -0,0 +1,10 @@ +--Testing record fields +data T = A {a :: Int} +:i A +:i a +let a = 3 :: Integer +:i a +a +data R = B {a :: Int} +:i a +:i T |