Changeset d93f01a6 in mainline for uspace/lib/cpp/src/internal/test/array.cpp
- Timestamp:
- 2018-07-05T21:41:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9475faf
- Parents:
- c06328da
- git-author:
- Dzejrou <dzejrou@…> (2018-04-07 15:01:43)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/src/internal/test/array.cpp
rc06328da rd93f01a6 101 101 // TODO: test bound checking of at when implemented 102 102 103 std::array<int, 3> arr4{1, 2, 3}; 104 auto [a, b, c] = arr4; 105 test_eq("structured binding part 1", a, 1); 106 test_eq("structured binding part 2", b, 2); 107 test_eq("structured binding part 3", c, 3); 108 103 109 return end(); 104 110 }
Note:
See TracChangeset
for help on using the changeset viewer.