Add tests

This commit is contained in:
Stanislav Gromov 2021-10-09 21:50:44 +07:00 committed by Y_Less
parent afe6f9ae06
commit 37c4f797a8
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
'test_type': 'output_check',
'errors': """
gh_685.pwn(1) : error 010: invalid function or declaration
gh_685.pwn(2) : error 010: invalid function or declaration
"""
}

View File

@ -0,0 +1,4 @@
native Tag:[1]operator +(Tag:a, Tag:b) = 0; // error 010: invalid function or declaration
forward Tag:[1]operator -(Tag:a,Tag:b); // error 010: invalid function or declaration
main () { }