summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_fail/WarningGroups.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/warnings/should_fail/WarningGroups.hs')
-rw-r--r--testsuite/tests/warnings/should_fail/WarningGroups.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_fail/WarningGroups.hs b/testsuite/tests/warnings/should_fail/WarningGroups.hs
new file mode 100644
index 0000000000..9581895ff7
--- /dev/null
+++ b/testsuite/tests/warnings/should_fail/WarningGroups.hs
@@ -0,0 +1,4 @@
+{-# OPTIONS_GHC -Wwarn=everything -fwarn-all -fno-warn-compat -Werror=unused-binds #-}
+module WarningGroups () where
+
+unused = let useless = () in ()