Commit 6242ceda authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add tests for magic hashes (trac #1297)

parent 254f2186
......@@ -52,3 +52,5 @@ test('read042', normal, compile, [''])
test('read043', normal, compile, [''])
test('read044', normal, compile, [''])
test('read045', normal, compile, [''])
test('read046', normal, compile, [''])
test('read047', normal, compile, [''])
{-# OPTIONS_GHC -XMagicHash #-}
module Foo where
foo# = 'a'
{-# LANGUAGE MagicHash #-}
module Foo where
foo# = 'a'
......@@ -40,3 +40,4 @@ test('read030', normal, compile_fail, [''])
test('read031', normal, compile_fail, [''])
test('read032', expect_broken(314), compile_fail, ['-cpp'])
test('read033', normal, compile_fail, [''])
test('read034', normal, compile_fail, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment