Test #pragma unwritten
no warnings
This commit is contained in:
parent
e9d61e29f5
commit
44e85ed685
5
source/compiler/tests/gh_373.meta
Normal file
5
source/compiler/tests/gh_373.meta
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
'test_type': 'output_check',
|
||||||
|
'errors': """
|
||||||
|
"""
|
||||||
|
}
|
11
source/compiler/tests/gh_373.pwn
Normal file
11
source/compiler/tests/gh_373.pwn
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Func(a[])
|
||||||
|
{
|
||||||
|
#pragma unwritten a
|
||||||
|
return a[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
main() {
|
||||||
|
new a[2];
|
||||||
|
Func(a);
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user