source: src/Tests/Expect-a/Switch.txt@ e01bfbc

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since e01bfbc was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

fix parsing error for EOF message, change cfa-ccp -x flag to -v, regression testing third attempt: consolidate example programs

  • Property mode set to 100644
File size: 4.0 KB
Line 
1fred: function
2 accepting unspecified arguments
3 returning
4 signed int
5 with body
6 CompoundStmt
7 Declaration of i: signed int
8 Switch on condition: Name: i
9
10 Case constant expression 3 signed int
11 Expression Statement:
12 Applying untyped:
13 Name: ?=?
14 ...to:
15 Address of:
16 Name: i
17 Name: 1
18
19 Switch on condition: Name: i
20
21 Default
22 Expression Statement:
23 Applying untyped:
24 Name: ?=?
25 ...to:
26 Address of:
27 Name: i
28 Name: 1
29
30 Switch on condition: constant expression 3 signed int
31 Default
32 Case constant expression 2 signed int
33 Case constant expression 3 signed int
34 Expression Statement:
35constant expression 3 signed int
36 Switch on condition: Name: i
37
38
39 Switch on condition: Name: i
40
41 Case Applying untyped:
42 Name: Range
43...to:
44constant expression 8 signed int constant expression 10 signed int
45 Default
46 Expression Statement:
47 Applying untyped:
48 Name: ?=?
49 ...to:
50 Address of:
51 Name: i
52constant expression 3 signed int Case constant expression 3 signed int
53 Case Applying untyped:
54 Name: Range
55...to:
56constant expression 'A' char constant expression 'Z' char
57 Case Applying untyped:
58 Name: Range
59...to:
60constant expression 5 signed int constant expression 6 signed int
61 Case Tuple:
62 constant expression 2 signed int
63 constant expression 4 signed int
64
65 Expression Statement:
66 Applying untyped:
67 Name: ?=?
68 ...to:
69 Address of:
70 Name: i
71constant expression 3 signed int Branch (Break)
72
73 Choose on condition: Name: i
74
75 Case constant expression 3 signed int
76 Expression Statement:
77 Applying untyped:
78 Name: ?=?
79 ...to:
80 Address of:
81 Name: i
82 Name: 1
83
84 Choose on condition: Name: i
85
86 Default
87 Expression Statement:
88 Applying untyped:
89 Name: ?=?
90 ...to:
91 Address of:
92 Name: i
93 Name: 1
94
95 Choose on condition: Name: i
96
97 Case constant expression 3 signed int
98 Case Applying untyped:
99 Name: Range
100...to:
101constant expression 'A' char constant expression 'Z' char
102 Case Applying untyped:
103 Name: Range
104...to:
105constant expression 5 signed int constant expression 6 signed int
106 Case Tuple:
107 constant expression 2 signed int
108 constant expression 4 signed int
109 constant expression 7 signed int
110
111 Expression Statement:
112 Applying untyped:
113 Name: ?=?
114 ...to:
115 Address of:
116 Name: i
117constant expression 3 signed int Fall-through statement
118 Default
119 Expression Statement:
120 Applying untyped:
121 Name: ?=?
122 ...to:
123 Address of:
124 Name: i
125constant expression 3 signed int Case Applying untyped:
126 Name: Range
127...to:
128constant expression 8 signed int constant expression 10 signed int
129 Fall-through statement
130
131
Note: See TracBrowser for help on using the repository browser.