leo/tests/parser/functions/annotated.leo

25 lines
212 B
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
/*
2021-04-07 20:01:24 +03:00
namespace: Parse
2021-03-30 01:45:10 +03:00
expectation: Pass
*/
@test
2022-01-28 21:34:02 +03:00
function a() {
2021-03-30 01:45:10 +03:00
return ();
2022-01-28 21:34:02 +03:00
}
@test(test)
function b() {
return ();
}
@test(test,)
function c() {
return ();
}
@test()
function d() {
return ();
}