Changeset 10b5970 for tests/enum_tests
- Timestamp:
- Jan 7, 2025, 3:22:19 PM (2 weeks ago)
- Branches:
- master
- Children:
- 190a833
- Parents:
- 70670e7
- Location:
- tests/enum_tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/enum_tests/inc-dec.cfa
r70670e7 r10b5970 4 4 enum() Number { One, Two, Three }; 5 5 6 int main( int argc, char * argv[]) {6 int main() { 7 7 Number a = One; 8 8 -
tests/enum_tests/planet.cfa
r70670e7 r10b5970 28 28 } 29 29 30 int main( int argc, char * argv[]) {30 int main() { 31 31 // if ( argc != 2 ) exit | "Usage: " | argv[0] | "earth-weight"; // terminate program 32 32 // double earthWeight = convert( argv[1] ); -
tests/enum_tests/structEnum.cfa
r70670e7 r10b5970 26 26 27 27 int main() { 28 PointEnum vals = second; 29 PointEnum val2; 28 PointEnum vals = second; (void) vals; 29 PointEnum val2; (void) val2; 30 30 // The failing line: assignment 31 31 // val2 = vals;
Note: See TracChangeset
for help on using the changeset viewer.