summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/proposal-229f.hs
blob: 75b1341c6f792a55170ba8be5073d55fe7f05f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE OverloadedLists #-}

import System.IO
import Proposal229f_instances

-- Testing that we can parse $[...] and $"..."
main = do
  hPutStrLn stderr $['1','2','3']
  hPutStrLn stderr $$['1','2','3']
  hPutStrLn stderr $"123"
  hPutStrLn stderr $$"123"