aboutsummaryrefslogtreecommitdiff
path: root/contrib/bc/tests/bc/posix_errors.txt
blob: 584a0198b5b357333a2d5829bc69a13189a6ec7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
aa = 0
# This is a comment.
while (q==0) { ++q; continue; }
last
print "i: ", i
halt
define x(e) { return 0; }
define x(e) { return 4*(e+e); }
define x(e) { return (e+e)*4; }
define a() { return (5); };define b() { return (6); }
limits
.
if (q!=0) { x=3; } else { x=4; }
x<=0
while (q!=0 && x==0) { ++q; }
while (q!=0 || x==0) { ++q; }
while (!q) { ++q; }
for (; x<0; ++x) { y += 1; }
for (x=0;; ++x) { y += 1; }
for (x=0; x<0;) { y += 1; }
for (x=0;;) { y += 1; }
for (; x<0;) { y += 1; }
for (;; ++x) { y += 1; }
for (;;) { y += 1; }
3e2981
9.892108e-20
obase = 0
obase = 1
define void a(e) { "stuff" }
maxibase()
maxobase()
maxscale()
v = "stuff"