Path: blob/master/test/03-semantic_step2/func_container.gravity
1214 views
#unittest {
name: "Testing function container (module cannot be declared inside a function).";
error: SEMANTIC;
error_row: 13;
error_col: 2;
};
func foo() {
var a;
func b() {return 1;}
class c {}
enum d { one = 1}
module e {var one;}
}