diff options
Diffstat (limited to 'testsuite/tests/parser/should_compile/read017.hs')
-rw-r--r-- | testsuite/tests/parser/should_compile/read017.hs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read017.hs b/testsuite/tests/parser/should_compile/read017.hs new file mode 100644 index 0000000000..4349cb27ca --- /dev/null +++ b/testsuite/tests/parser/should_compile/read017.hs @@ -0,0 +1,15 @@ +-- !!! Checking that empty declarations are permitted. +module ShouldCompile where + + +class Foo a where + +class Foz a + +x = 2 where +y = 3 + +instance Foo Int where + +f = f where g = g where +type T = Int |