summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/dc/Makefile5
-rw-r--r--regress/usr.bin/dc/t17.in3
-rw-r--r--regress/usr.bin/dc/t17.out2
3 files changed, 8 insertions, 2 deletions
diff --git a/regress/usr.bin/dc/Makefile b/regress/usr.bin/dc/Makefile
index 44949d3ac25..a0951a6d06e 100644
--- a/regress/usr.bin/dc/Makefile
+++ b/regress/usr.bin/dc/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.6 2003/11/14 20:27:17 otto Exp $
+# $OpenBSD: Makefile,v 1.7 2003/11/17 11:13:38 otto Exp $
DC=dc
-REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16
+REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17
# .in: input file
# .out: desired result
@@ -22,6 +22,7 @@ REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16
# t14: test N, G, ( and {
# t15: more N, G, ( and {
# t16: even more N, G, ( and {
+# t17: test R (drop)
all: clean ${REGRESS_TARGET}
diff --git a/regress/usr.bin/dc/t17.in b/regress/usr.bin/dc/t17.in
new file mode 100644
index 00000000000..8236bebfaee
--- /dev/null
+++ b/regress/usr.bin/dc/t17.in
@@ -0,0 +1,3 @@
+1 2Rf
+Rf
+[foo][bar]rRf
diff --git a/regress/usr.bin/dc/t17.out b/regress/usr.bin/dc/t17.out
new file mode 100644
index 00000000000..29295c37eec
--- /dev/null
+++ b/regress/usr.bin/dc/t17.out
@@ -0,0 +1,2 @@
+1
+bar