diff options
Diffstat (limited to 'third_party/webkit/PerformanceTests/six-speed/tests/bindings-compound.es5')
-rw-r--r-- | third_party/webkit/PerformanceTests/six-speed/tests/bindings-compound.es5 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/webkit/PerformanceTests/six-speed/tests/bindings-compound.es5 b/third_party/webkit/PerformanceTests/six-speed/tests/bindings-compound.es5 new file mode 100644 index 0000000000..789d586cac --- /dev/null +++ b/third_party/webkit/PerformanceTests/six-speed/tests/bindings-compound.es5 @@ -0,0 +1,11 @@ +var b = 2; + +assertEqual(fn(), 3); + +function fn() { + var a = 1; + a += b; + + return a; +} +test(fn); |