summaryrefslogtreecommitdiffhomepage
path: root/testsuite/bc_misc1.bc
blob: 7e9d9660457f6adce9be3d82d39a5e3491928a4f (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
define x(x) {
	return(x)
}
define y() {
	return;
}
define z() {
	return ();
}
scale = 0
x=2
x[0]=3
x
x[0]
scale
ibase
obase
x ( 7 )
x + x( 8 )
x - x[0]
321 * x
2 ^ x[0]
x++
--x
x += 9
x
length(2381)
sqrt(9)
scale(238.1)
x=2
x[0]=3
(x)
(x[0])
(scale)
(ibase)
(obase)
(x ( 7 ))
(x + x( 8 ))
(x - x[0])
(321 * x)
(2 ^ x[0])
(x++)
(--x)
(x += 9)
(length(2381))
(sqrt(9))
(scale(238.1))
(scale = 0)
(x = 10)
(x += 100)
(x -= 10)
(x *= 10)
(x /= 100)
(x ^= 10)
(x = sqrt(x))
(x[1 - 1])
x[(1 - 1)]
2 + \
3
++ibase
--ibase
++obase
--obase
++last
--last
last
last = 100
last
. = 150
.
++scale
--scale
y()
z()
2 + /*
*/3