aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/File.hs21
-rw-r--r--test/data/File1.hs16
-rw-r--r--test/data/File2.hs5
-rw-r--r--test/data/File3.hs3
-rw-r--r--test/data/FileAfterPreprocessor.hs31
5 files changed, 76 insertions, 0 deletions
diff --git a/test/data/File.hs b/test/data/File.hs
new file mode 100644
index 0000000..c697e27
--- /dev/null
+++ b/test/data/File.hs
@@ -0,0 +1,21 @@
+1 File.hs
+2 File.hs
+3 File.hs
+4 File.hs
+5 File.hs
+6 File.hs
+7 File.hs
+#include "File1.hs"
+9 File.hs
+#if 0
+11 File.hs
+12 File.hs
+13 File.hs
+14 File.hs
+15 File.hs
+16 File.hs
+#endif
+18 File.hs
+19 File.hs
+#include "File3.hs"
+21 File.hs
diff --git a/test/data/File1.hs b/test/data/File1.hs
new file mode 100644
index 0000000..3f8bdc9
--- /dev/null
+++ b/test/data/File1.hs
@@ -0,0 +1,16 @@
+1 File1.hs
+2 File1.hs
+#if 0
+4 File1.hs
+5 File1.hs
+6 File1.hs
+7 File1.hs
+8 File1.hs
+9 File1.hs
+10 File1.hs
+11 File1.hs
+12 File1.hs
+#endif
+#include "File2.hs"
+15 File1.hs
+16 File1.hs
diff --git a/test/data/File2.hs b/test/data/File2.hs
new file mode 100644
index 0000000..f278090
--- /dev/null
+++ b/test/data/File2.hs
@@ -0,0 +1,5 @@
+1 File2.hs
+2 File2.hs
+3 File2.hs
+4 File2.hs
+5 File2.hs
diff --git a/test/data/File3.hs b/test/data/File3.hs
new file mode 100644
index 0000000..088a900
--- /dev/null
+++ b/test/data/File3.hs
@@ -0,0 +1,3 @@
+1 File3.hs
+2 File3.hs
+3 File3.hs
diff --git a/test/data/FileAfterPreprocessor.hs b/test/data/FileAfterPreprocessor.hs
new file mode 100644
index 0000000..d4e2583
--- /dev/null
+++ b/test/data/FileAfterPreprocessor.hs
@@ -0,0 +1,31 @@
+1 File.hs
+2 File.hs
+3 File.hs
+4 File.hs
+5 File.hs
+6 File.hs
+7 File.hs
+# 1 "File1.hs" 1
+1 File1.hs
+2 File1.hs
+# 14 "File1.hs"
+# 1 "File2.hs" 1
+1 File2.hs
+2 File2.hs
+3 File2.hs
+4 File2.hs
+5 File2.hs
+# 15 "File1.hs" 2
+15 File1.hs
+16 File1.hs
+# 9 "File.hs" 2
+9 File.hs
+# 18 "File.hs"
+18 File.hs
+19 File.hs
+# 1 "File3.hs" 1
+1 File3.hs
+2 File3.hs
+3 File3.hs
+# 21 "File.hs" 2
+21 File.hs