#include <core.p4>
control MAPipe();
package SimpleArch(MAPipe p);
control MyMAPipe() {
action a0() {}
table t0 { actions = { a0; } default_action = a0()(); }
apply {
t0.apply();
}
}
SimpleArch(MyMAPipe()) main;
Compiler bug triggered, please report this error:
exception type: P4::Util::CompilerBug
error: In file: ./p4c/frontends/p4/typeChecking/typeCheckExpr.cpp:1813
Compiler Bug: p4c/testdata/p4_16_errors/issuex.p4(8): a0();: unexpected call
table t0 { actions = { a0; } default_action = a0()(); }
^^^^