summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/2464.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/driver/2464.hs')
-rw-r--r--testsuite/tests/driver/2464.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/driver/2464.hs b/testsuite/tests/driver/2464.hs
new file mode 100644
index 0000000000..3547c100fb
--- /dev/null
+++ b/testsuite/tests/driver/2464.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -DTEST #-}
+{-# OPTIONS_GHC -fffi #-} -- deprecation warning
+#ifdef TEST
+{-# LANGUAGE EmptyDataDecls #-}
+#endif
+#if __GLASGOW_HASKELL__ < 610
+{-# INCLUDE "foo.h" #-} -- would generate a deprecation warning if enabled
+#endif
+
+module Test2464 where
+data T