Commit d2ece6b5 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a test for spaces in SCCs (trac #2036)

parent 8632e56a
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
test('proffail001', normal, compile_fail, ['-prof -caf-all'])
module Foo where
wibble :: a
wibble = {-# SCC "foo bar" #-} wibble
proffail001.hs:5:17: Spaces are not allowed in SCCs
Supports Markdown
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