Add tests
This commit is contained in:
parent
afe6f9ae06
commit
37c4f797a8
7
source/compiler/tests/gh_685.meta
Normal file
7
source/compiler/tests/gh_685.meta
Normal 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
|
||||||
|
"""
|
||||||
|
}
|
4
source/compiler/tests/gh_685.pwn
Normal file
4
source/compiler/tests/gh_685.pwn
Normal 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 () { }
|
Loading…
x
Reference in New Issue
Block a user