about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--030container.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/030container.cc b/030container.cc
index a4aba7fa..d53786c4 100644
--- a/030container.cc
+++ b/030container.cc
@@ -26,6 +26,14 @@ recipe main [
 +mem: storing 34 in location 3
 +mem: storing 35 in location 4
 
+//: trying to copy to a differently-sized destination will fail
+:(scenario copy_checks_size)
+% Hide_warnings = true;
+recipe main [
+  2:point <- copy 1:number
+]
++warn: main: size mismatch in storing to 2:point at '2:point <- copy 1:number'
+
 :(before "End Mu Types Initialization")
 // A more complex container, containing another container as one of its
 // elements.
kartik/mu/blame/039wait.cc?h=main&id=01caf342d072115c27926b1a61c2fc75ab9fbee0'>^
c76b49e7 ^
5497090a ^
c76b49e7 ^

5497090a ^
c76b49e7 ^









ac0e9db5 ^
827898fc ^
c76b49e7 ^
3a622511 ^
c76b49e7 ^





363be37f ^
c76b49e7 ^

0487a30e ^
c76b49e7 ^

827898fc ^
7feea75b ^
827898fc ^
c76b49e7 ^





ac0e9db5 ^
9d670bb5 ^
05d17773 ^
9d670bb5 ^
a6cdf15c ^

827898fc ^
9d670bb5 ^
827898fc ^
8833d01c ^
05d17773 ^
3a622511 ^
c76b49e7 ^

363685b8 ^
1ea1bd9c ^
363685b8 ^


5497090a ^


363685b8 ^
5497090a ^
363685b8 ^

5497090a ^
363685b8 ^
6e698858 ^




363685b8 ^




ac0e9db5 ^
363685b8 ^





363be37f ^
363685b8 ^

363685b8 ^
ac0e9db5 ^
6e698858 ^
7feea75b ^
363685b8 ^



9d670bb5 ^


ac0e9db5 ^
05d17773 ^

ac0e9db5 ^
58fdadde ^
ac0e9db5 ^
6e698858 ^

05d17773 ^

363685b8 ^


134dad7c ^



363be37f ^
134dad7c ^

ac0e9db5 ^
134dad7c ^

dc1323e9 ^
134dad7c ^






ac0e9db5 ^

134dad7c ^







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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150