diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn034.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn034.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn034.hs b/testsuite/tests/rename/should_compile/rn034.hs new file mode 100644 index 0000000000..b8fc047171 --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn034.hs @@ -0,0 +1,12 @@ +-- !!! 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 |