Add tests
This commit is contained in:
parent
6649bd5abe
commit
33922d4af2
5
source/compiler/tests/gh_466.meta
Normal file
5
source/compiler/tests/gh_466.meta
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
'test_type': 'output_check',
|
||||||
|
'errors': """
|
||||||
|
"""
|
||||||
|
}
|
16
source/compiler/tests/gh_466.pwn
Normal file
16
source/compiler/tests/gh_466.pwn
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
forward [2][3]Func();
|
||||||
|
Func()
|
||||||
|
{
|
||||||
|
new a[2][3];
|
||||||
|
return a;
|
||||||
|
}
|
||||||
|
|
||||||
|
native [2][3]NativeFunc();
|
||||||
|
|
||||||
|
main()
|
||||||
|
{
|
||||||
|
new a[2][3];
|
||||||
|
a = Func();
|
||||||
|
a = NativeFunc();
|
||||||
|
return a[0][0];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user