Skip to content

Add switch tests#28

Merged
nunoplopes merged 6 commits intoCpp2Rust:masterfrom
lucic71:basic-switch
Apr 24, 2026
Merged

Add switch tests#28
nunoplopes merged 6 commits intoCpp2Rust:masterfrom
lucic71:basic-switch

Conversation

@lucic71
Copy link
Copy Markdown
Contributor

@lucic71 lucic71 commented Apr 23, 2026

This adds all the switch/case tests introduced in #23

Not all tests compile, but that's fine, they will be fixed in future PR's. Some tests are marked with the new

// translation-fail

marker that's aded to tests which break the translator

Comment thread tests/lit/lit/formats/Cpp2RustTest.py Outdated
@nunoplopes nunoplopes merged commit 2340d75 into Cpp2Rust:master Apr 24, 2026
9 checks passed
@lucic71 lucic71 deleted the basic-switch branch April 29, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants