summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/comment_cont.mk3
-rw-r--r--tests/cont_without_ws.mk3
-rw-r--r--tests/noninitial_bad_ws.mk2
-rw-r--r--tests/unindented_cont.mk3
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/comment_cont.mk b/tests/comment_cont.mk
new file mode 100644
index 0000000..95b2635
--- /dev/null
+++ b/tests/comment_cont.mk
@@ -0,0 +1,3 @@
+#:2:
+#\
+ this line is a comment because of the continuation above
diff --git a/tests/cont_without_ws.mk b/tests/cont_without_ws.mk
new file mode 100644
index 0000000..0b70d30
--- /dev/null
+++ b/tests/cont_without_ws.mk
@@ -0,0 +1,3 @@
+#:2:
+OBJ = make-will-actually\
+insert-a-whitespace
diff --git a/tests/noninitial_bad_ws.mk b/tests/noninitial_bad_ws.mk
new file mode 100644
index 0000000..93ad40e
--- /dev/null
+++ b/tests/noninitial_bad_ws.mk
@@ -0,0 +1,2 @@
+#:6:
+ foo: bar # This line is preceded by a vertical tab following a <space>
diff --git a/tests/unindented_cont.mk b/tests/unindented_cont.mk
new file mode 100644
index 0000000..ebd5adc
--- /dev/null
+++ b/tests/unindented_cont.mk
@@ -0,0 +1,3 @@
+#:2:
+OBJ = \
+obj.o