From 7637d1ac845d40015820a216cc8697178905e4ad Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 9 Nov 2015 14:48:46 -0800 Subject: 2411 - backfill test for 2400 --- 058generic_container.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/058generic_container.cc b/058generic_container.cc index 8da369f6..ddfb87c2 100644 --- a/058generic_container.cc +++ b/058generic_container.cc @@ -141,6 +141,17 @@ recipe main [ +mem: storing 14 in location 2 +mem: storing 15 in location 3 +:(scenario get_on_generic_container_3) +container foo:_t [ + x:_t + y:number +] +recipe main [ + 1:foo:address:point <- merge 34, 48 # unsafe + 2:address:point <- get 1:foo:address:point, x:offset +] ++mem: storing 34 in location 2 + :(before "End element_type Special-cases") if (contains_type_ingredient(element)) { if (!canonized_base.type->right) -- cgit 1.4.1-2-gfad0 ected='selected'>hlt Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/404stream.mu
blob: d0120046f5e26b04317cb5b97c8cf1232b754280 (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
34
35
36
37
38
39
40
41
42
43
44
45
46