diff --git a/node/stmt/t_halt_compiler_test.go b/node/stmt/t_halt_compiler_test.go new file mode 100644 index 0000000..087ac9b --- /dev/null +++ b/node/stmt/t_halt_compiler_test.go @@ -0,0 +1,28 @@ + +package stmt_test + +import ( + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/php5" + "github.com/z7zmey/php-parser/php7" +) + +func TestHaltCompiler(t *testing.T) { + src := `