Add tests for switch
statements located in action bodies
#5122
Labels
infrastructure
Topics related to code style and build and test infrastructure.
As mentioned in p4lang/p4-spec#1362, the frontend passes currently produce valid IR for
switch
statements located in actions, but no tests exist to validate that (as all of the backends run theEliminatteSwitch
midend pass, which errors out onswitch
statements in actions).It would be nice if we could add tests to validate
switch
statements in actions somehow.The text was updated successfully, but these errors were encountered: