brick/tests/fixtures/p4/negative.p4

16 lines
422 B
Text

// parser CommentParser() { state ghost { transition reject; } }
/*
control CommentControl() {
action ghost_action() {}
}
*/
const string fake_parser = "parser StringParser() { state string_state { transition accept; } }";
const string fake_apply = "ghost_table.apply(); ghost_action();";
control RealControl() {
apply {
// fake_table.apply();
const string ignored = "missing_action();";
}
}