diff --git a/test/test-fail1.js b/test/test-fail1.js new file mode 100644 index 0000000..b3e3f99 --- /dev/null +++ b/test/test-fail1.js @@ -0,0 +1,25 @@ +function foo() { + this.x=null; + this.act = { + a1:function () { + log('A') + }, + a2:function () { + log('B') + this.x.push(1); + }, + a3: function () { + log('C') + kill() + } + } + this.trans = { + a1:a2, + a2:a3 + } + this.next=a1 +} +compile(foo) +config({verbose:1}) +create('foo',{}); +start()