Y_Less fc7156241f Squashed commit of the following:
commit 448aa3b0517a48bf1eb23e143716a1d2543f0ee2
Author: Daniel_Cortez <gromovstanislav@yandex.ru>
Date:   Fri Jul 5 19:10:25 2019 +0700

    Update tests for __emit

commit b7fd80382a3481acfcb4e1335cee7071fda064f3
Author: Daniel_Cortez <gromovstanislav@yandex.ru>
Date:   Fri Jul 5 19:10:09 2019 +0700

    __emit: Do not allow pseudo-opcodes to modify constant variables/arrays
2019-09-24 00:20:09 +02:00

9 lines
239 B
PHP

#include <console>
const global_const = 0;
new stock global_var = 0;
new stock global_array[2];
new stock const global_const_var = 0;
forward global_func(); public global_func() { return 0; }
native global_native(const string[]) = print;