Add tests

This commit is contained in:
Stanislav Gromov 2020-08-29 20:57:51 +08:00 committed by Y_Less
parent 1488c26e47
commit 5bce87049b
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,8 @@
{
'test_type': 'output_check',
'errors': """
gh_500.pwn(13) : error 004: function "Test1" is not implemented - use "Test4"
gh_500.pwn(14) : error 004: function "Test2" is not implemented
gh_500.pwn(15) : error 004: function "Test3" is not implemented
"""
}

View File

@ -0,0 +1,16 @@
#pragma deprecated - use "Test4"
forward Test1();
#pragma deprecated
forward Test2();
forward Test3();
stock Test4(){}
main()
{
Test1(); // error 004: function "Test1" is not implemented - use "Test4"
Test2(); // error 004: function "Test2" is not implemented
Test3(); // error 004: function "Test3" is not implemented
}