summaryrefslogtreecommitdiff
path: root/testsuite/tests/profiling/should_fail/proffail001.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/profiling/should_fail/proffail001.hs')
-rw-r--r--testsuite/tests/profiling/should_fail/proffail001.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/profiling/should_fail/proffail001.hs b/testsuite/tests/profiling/should_fail/proffail001.hs
new file mode 100644
index 0000000000..dfdf2fc730
--- /dev/null
+++ b/testsuite/tests/profiling/should_fail/proffail001.hs
@@ -0,0 +1,6 @@
+
+module Foo where
+
+wibble :: a
+wibble = {-# SCC "foo bar" #-} wibble
+