diff options
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/T4870a.hs')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/T4870a.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/T4870a.hs b/testsuite/tests/deSugar/should_compile/T4870a.hs new file mode 100644 index 0000000000..a4c59a5b66 --- /dev/null +++ b/testsuite/tests/deSugar/should_compile/T4870a.hs @@ -0,0 +1,8 @@ +module T4870a where
+
+class C a where c :: a -> a
+
+{-# INLINABLE f #-}
+f :: (C a) => a
+f = c f
+
|