summaryrefslogtreecommitdiff
path: root/regress/usr.bin/dc/t1.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/dc/t1.in')
-rw-r--r--regress/usr.bin/dc/t1.in48
1 files changed, 48 insertions, 0 deletions
diff --git a/regress/usr.bin/dc/t1.in b/regress/usr.bin/dc/t1.in
new file mode 100644
index 00000000000..3b119fc644d
--- /dev/null
+++ b/regress/usr.bin/dc/t1.in
@@ -0,0 +1,48 @@
+[1234]Xp s.
+12.345Xp s.
+[]Xp s.
+1Xp s.
+_1Xp s.
+3.99999999999999Xp s.
+_3.99999999999999Xp s.
+[]Zp s.
+[aap]Zp s.
+[aapnoot]Zp s.
+0Zp s.
+1Zp s.
+_1Zp s.
+3.99999999999999Zp s.
+_3.99999999999999Zp s.
+_1 3^p s.
+_1 3.0^p s.
+2.0 10^p s.
+100000000000000000000000000000000000000000000000000000000000000000000 99^ps.
+30k
+10000000000000000000000000000000000000vp s.
+0.3219832098321890321903903218321098321098213vp s.
+[ps.]sa
+1 0 1
+<a
+2 2 3
+!<a
+3 4 5
+>a
+4 6 7
+!>a
+5 8 9
+=a
+6 10 10
+=a
+7 11 11
+!=a
+8 12 13
+!=a
+c
+[OK] 0:a 0Sa [NOT OK] 0:a La 0;ap
+!echo ECHO
+[!echo STRING]sa
+lax
+[lip1+sili10>a]sa0silax
+c
+zp s.
+1 2 3 z ps.