# test syntax errors specific to viper code generationdeftest_syntax(code):try:exec(code)exceptSyntaxError:print("SyntaxError")# viper: annotations must be identifierstest_syntax("@micropython.viper\ndef f(a:1): pass")test_syntax("@micropython.viper\ndef f() -> 1: pass")