Add tests
This commit is contained in:
parent
44a8c5c76f
commit
74bb2b3450
4
source/compiler/tests/gh_398.inc
Normal file
4
source/compiler/tests/gh_398.inc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/* 3 empty lines */
|
||||||
|
|
||||||
|
|
||||||
|
new a, b;// <= line 4
|
7
source/compiler/tests/gh_398.meta
Normal file
7
source/compiler/tests/gh_398.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
'test_type': 'output_check',
|
||||||
|
'errors': """
|
||||||
|
gh_398.pwn(4) : warning 203: symbol is never used: "a"
|
||||||
|
gh_398.pwn(4) : warning 203: symbol is never used: "b"
|
||||||
|
"""
|
||||||
|
}
|
2
source/compiler/tests/gh_398.pwn
Normal file
2
source/compiler/tests/gh_398.pwn
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#include "gh_398.inc"
|
||||||
|
main(){}
|
Loading…
x
Reference in New Issue
Block a user