aboutsummaryrefslogtreecommitdiff
path: root/old-tests/define/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'old-tests/define/buildfile')
-rw-r--r--old-tests/define/buildfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/old-tests/define/buildfile b/old-tests/define/buildfile
new file mode 100644
index 0000000..d85fc57
--- /dev/null
+++ b/old-tests/define/buildfile
@@ -0,0 +1,14 @@
+#define # expected name
+#define foo # expected :
+#define foo: # expected name
+#define foo: bar # unknown target type
+
+define foo: file
+foo{FOO}: # verify name is foo{FOO} and not file{FOO} with --verbose 6
+
+#define foo: dir # already define in this scope
+
+define bar: foo
+bar{BAR}: # verify name is bar{BAR} with --verbose 6
+
+./: