diff options
| author | Simon Peyton Jones <simonpj@microsoft.com> | 2015-02-06 15:16:51 +0000 |
|---|---|---|
| committer | Simon Peyton Jones <simonpj@microsoft.com> | 2015-02-06 15:16:51 +0000 |
| commit | 0f75a3f0a15ac26e52dc3477fd6e5bc3cd5c6eca (patch) | |
| tree | 72a8a3972ec9bb9466d3b8eb2dda903421cb00bc | |
| parent | dda652826326022e4604d7b0fdc82c1993e32a67 (diff) | |
| download | haskell-0f75a3f0a15ac26e52dc3477fd6e5bc3cd5c6eca.tar.gz | |
Test Trac #10041
| -rw-r--r-- | testsuite/tests/polykinds/T10041.hs | 10 | ||||
| -rw-r--r-- | testsuite/tests/polykinds/all.T | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T10041.hs b/testsuite/tests/polykinds/T10041.hs new file mode 100644 index 0000000000..920252f433 --- /dev/null +++ b/testsuite/tests/polykinds/T10041.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE PolyKinds, TypeFamilies, DataKinds #-} +{-# LANGUAGE TypeOperators, GADTs, InstanceSigs #-} + +module T10041 where + +data family Sing (a :: k) +data instance Sing (xs :: [k]) where + SNil :: Sing '[] + +class SingI (a :: ΔΈ) where
\ No newline at end of file diff --git a/testsuite/tests/polykinds/all.T b/testsuite/tests/polykinds/all.T index c86e317bf0..73213874e3 100644 --- a/testsuite/tests/polykinds/all.T +++ b/testsuite/tests/polykinds/all.T @@ -114,3 +114,5 @@ test('T9838', normal, multimod_compile, ['T9838.hs','-v0']) test('T9574', normal, compile_fail, ['']) test('T9833', normal, compile, ['']) test('T7908', normal, compile, ['']) +test('T10041', normal, compile, ['']) + |
