- Timestamp:
- Dec 4, 2024, 10:17:49 PM (9 months ago)
- Branches:
- master
- Children:
- fc276f3
- Parents:
- 509ec82
- Location:
- tests
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/KRfunctions.arm64.txt
r509ec82 reae8b37 104 104 signed int _X1bi_2; 105 105 { 106 signed int *(*_tmp_cp_ret 0)(signed int __param_0, signed int __param_1);107 ((void)(_X1xFPi_ii__2=(((void)(_tmp_cp_ret 0=_X3f10FFPi_ii__iPiPid__1(3, (&_X1ai_2), (&_X1bi_2), 3.5))) , _tmp_cp_ret0)));106 signed int *(*_tmp_cp_ret8)(signed int __param_0, signed int __param_1); 107 ((void)(_X1xFPi_ii__2=(((void)(_tmp_cp_ret8=_X3f10FFPi_ii__iPiPid__1(3, (&_X1ai_2), (&_X1bi_2), 3.5))) , _tmp_cp_ret8))); 108 108 } 109 109 -
tests/.expect/KRfunctions.x64.txt
r509ec82 reae8b37 104 104 signed int _X1bi_2; 105 105 { 106 signed int *(*_tmp_cp_ret 0)(signed int __param_0, signed int __param_1);107 ((void)(_X1xFPi_ii__2=(((void)(_tmp_cp_ret 0=_X3f10FFPi_ii__iPiPid__1(3, (&_X1ai_2), (&_X1bi_2), 3.5))) , _tmp_cp_ret0)));106 signed int *(*_tmp_cp_ret8)(signed int __param_0, signed int __param_1); 107 ((void)(_X1xFPi_ii__2=(((void)(_tmp_cp_ret8=_X3f10FFPi_ii__iPiPid__1(3, (&_X1ai_2), (&_X1bi_2), 3.5))) , _tmp_cp_ret8))); 108 108 } 109 109 -
tests/.expect/declarationSpecifier.arm64.txt
r509ec82 reae8b37 1059 1059 } 1060 1060 1061 signed int _tmp_cp_ret 0;1062 signed int _X3reti_2 = (((void)(_tmp_cp_ret 0=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret0);1061 signed int _tmp_cp_ret8; 1062 signed int _X3reti_2 = (((void)(_tmp_cp_ret8=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret8); 1063 1063 if ( ((&_X17cfa_main_returnedi_1)!=((signed int *)0)) ) { 1064 1064 { -
tests/.expect/declarationSpecifier.x64.txt
r509ec82 reae8b37 1059 1059 } 1060 1060 1061 signed int _tmp_cp_ret 0;1062 signed int _X3reti_2 = (((void)(_tmp_cp_ret 0=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret0);1061 signed int _tmp_cp_ret8; 1062 signed int _X3reti_2 = (((void)(_tmp_cp_ret8=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret8); 1063 1063 if ( ((&_X17cfa_main_returnedi_1)!=((signed int *)0)) ) { 1064 1064 { -
tests/.expect/declarationSpecifier.x86.txt
r509ec82 reae8b37 1059 1059 } 1060 1060 1061 signed int _tmp_cp_ret 0;1062 signed int _X3reti_2 = (((void)(_tmp_cp_ret 0=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret0);1061 signed int _tmp_cp_ret8; 1062 signed int _X3reti_2 = (((void)(_tmp_cp_ret8=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret8); 1063 1063 if ( ((&_X17cfa_main_returnedi_1)!=((signed int *)0)) ) { 1064 1064 { -
tests/.expect/extension.x64.txt
r509ec82 reae8b37 457 457 458 458 { 459 signed int _tmp_cp_ret 0;460 ((void)(((void)(_tmp_cp_ret 0=__extension__ _X4fredFi_i__1(3))) , _tmp_cp_ret0));459 signed int _tmp_cp_ret8; 460 ((void)(((void)(_tmp_cp_ret8=__extension__ _X4fredFi_i__1(3))) , _tmp_cp_ret8)); 461 461 } 462 462 -
tests/.expect/extension.x86.txt
r509ec82 reae8b37 457 457 458 458 { 459 signed int _tmp_cp_ret 0;460 ((void)(((void)(_tmp_cp_ret 0=__extension__ _X4fredFi_i__1(3))) , _tmp_cp_ret0));459 signed int _tmp_cp_ret8; 460 ((void)(((void)(_tmp_cp_ret8=__extension__ _X4fredFi_i__1(3))) , _tmp_cp_ret8)); 461 461 } 462 462 -
tests/.expect/gccExtensions.arm64.txt
r509ec82 reae8b37 339 339 } 340 340 341 signed int _tmp_cp_ret 0;342 signed int _X3reti_2 = (((void)(_tmp_cp_ret 0=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret0);341 signed int _tmp_cp_ret8; 342 signed int _X3reti_2 = (((void)(_tmp_cp_ret8=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret8); 343 343 if ( ((&_X17cfa_main_returnedi_1)!=((signed int *)0)) ) { 344 344 { -
tests/.expect/gccExtensions.x64.txt
r509ec82 reae8b37 339 339 } 340 340 341 signed int _tmp_cp_ret 0;342 signed int _X3reti_2 = (((void)(_tmp_cp_ret 0=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret0);341 signed int _tmp_cp_ret8; 342 signed int _X3reti_2 = (((void)(_tmp_cp_ret8=invoke_main(_X4argci_1, _X4argvPPc_1, _X4envpPPc_1))) , _tmp_cp_ret8); 343 343 if ( ((&_X17cfa_main_returnedi_1)!=((signed int *)0)) ) { 344 344 { -
tests/ctrl-flow/loopctrl.cfa
r509ec82 reae8b37 15 15 16 16 #include <fstream.hfa> 17 #include <enum.hfa>18 17 19 18 void fred() { -
tests/enum_tests/.expect/position.txt
r509ec82 reae8b37 1 Compile Time: blue value: blue, position: 2, label: Blue, default return value: blue2 Runtime : fishy value: green, position: 1, label: Green, default return value: green3 Runtime : C2 value: green, position: 1, label: Green, default return value: green1 Enumeration Constant<Blue>:: value: blue, position: 2, label: Blue, default output: Blue 2 Runtime Value<fishy>:: value: green, position: 1, label: Green, default output: Green 3 Runtime Value<C2>:: value: green, position: 1, label: Green, default output: Green 4 4 ao is red 5 5 ko is green -
tests/enum_tests/anonymous.cfa
r509ec82 reae8b37 3 3 4 4 int main() { 5 sout | nthreads;5 sout | value(nthreads); 6 6 } 7 7 -
tests/enum_tests/enumInlineValue.cfa
r509ec82 reae8b37 1 1 #include <fstream.hfa> 2 #include <enum.hfa>3 2 4 3 enum(int) A !{ -
tests/enum_tests/input.cfa
r509ec82 reae8b37 1 1 #include <fstream.hfa> 2 #include <enum.hfa>3 2 4 3 int main() { -
tests/enum_tests/planet.cfa
r509ec82 reae8b37 1 1 #include <fstream.hfa> 2 2 #include <stdlib.hfa> 3 #include <enum.hfa>4 3 5 4 struct MR { double mass, radius; }; -
tests/enum_tests/position.cfa
r509ec82 reae8b37 17 17 Colour c2 = fishy; 18 18 19 sout | " Compile Time: blue value: " | value(Colour.Blue) | ", position: " | posn(Colour.Blue) | ", label: " | label(Colour.Blue) | ", default return value: " | Colour.Blue;20 sout | "Runtime : fishy value: " | value(fishy) | ", position: " | posn(fishy) | ", label: " | label(fishy) | ", default return value: " | fishy;21 sout | "Runtime : C2 value: " | value(c2) | ", position: " | posn(c2) | ", label: " | label(c2) | ", default return value: " | c2;19 sout | "Enumeration Constant<Blue>:: value: " | value(Colour.Blue) | ", position: " | posn(Colour.Blue) | ", label: " | label(Colour.Blue) | ", default output: " | Colour.Blue; 20 sout | "Runtime Value<fishy>:: value: " | value(fishy) | ", position: " | posn(fishy) | ", label: " | label(fishy) | ", default output: " | fishy; 21 sout | "Runtime Value<C2>:: value: " | value(c2) | ", position: " | posn(c2) | ", label: " | label(c2) | ", default output: " | c2; 22 22 Colour.Red; 23 23 char * ao = Colour.Red; -
tests/enum_tests/typedIntEnum.cfa
r509ec82 reae8b37 12 12 13 13 int main() { 14 sout | "0=" | zero;15 sout | "1=" | one;16 sout | "1000=" | thousand;17 sout | "1001=" | thousand_one;18 sout | "2000=" | two_thousand;19 sout | "2001=" | two_thousand_one;20 sout | "2002=" | two_thousand_two;14 sout | "0=" | value(zero); 15 sout | "1=" | value(one); 16 sout | "1000=" | value(thousand); 17 sout | "1001=" | value(thousand_one); 18 sout | "2000=" | value(two_thousand); 19 sout | "2001=" | value(two_thousand_one); 20 sout | "2002=" | value(two_thousand_two); 21 21 return 0; 22 22 } -
tests/enum_tests/voidEnum.cfa
r509ec82 reae8b37 1 1 #include <fstream.hfa> 2 #include <enum.hfa>3 2 4 3 enum() E { A, B, C };
Note:
See TracChangeset
for help on using the changeset viewer.