summaryrefslogtreecommitdiff
path: root/regress/usr.bin/make/mk22
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-11-29 16:26:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-11-29 16:26:59 +0000
commit2afbcc28488962e27265d18b106b5d114adc06fb (patch)
treecbfc61d1ed5cbc9f024df1c3390e7ddcfe9940c7 /regress/usr.bin/make/mk22
parent55df41b563d595673e105141cf8ac1ab1c382847 (diff)
checking lazy evaluation of recursive variables
Diffstat (limited to 'regress/usr.bin/make/mk22')
-rw-r--r--regress/usr.bin/make/mk2210
1 files changed, 10 insertions, 0 deletions
diff --git a/regress/usr.bin/make/mk22 b/regress/usr.bin/make/mk22
new file mode 100644
index 00000000000..f3dbde759b4
--- /dev/null
+++ b/regress/usr.bin/make/mk22
@@ -0,0 +1,10 @@
+# Recursion on variables.
+A=$B
+B=$C
+C=$A
+
+a:
+ echo $A
+
+b:
+ echo "business as usual"