blob: 80f1da406886990998d1854ab7d2d5c3dc3da521 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{-# LANGUAGE TemplateHaskell #-}
-- Two sliced declarations bind the same variable.
-- This test checks that there's a reasonable error message
module ShouldCompile where
$( [d| x = 1 |] )
$( [d| x = 2 |] )
|