summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_spliceViewPat/Main.hs
blob: 675ae99bf9c40e8157cfd4bf25c18970bbdd4b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE QuasiQuotes, ViewPatterns #-}

module Main where

import A

main = do
  case 1 of
    [foo|x|] -> print x
  case 1 of
    [bar|<!anything~|] -> print fixed_var