diff --git a/test/core/fixtures/transformation/es7.class-properties/static/exec.js b/test/core/fixtures/transformation/es7.class-properties/static/exec.js new file mode 100644 index 0000000000..bb2f9cc9ce --- /dev/null +++ b/test/core/fixtures/transformation/es7.class-properties/static/exec.js @@ -0,0 +1,8 @@ +class Foo { + static num = 0; + static str = "bar"; +} + +assert.equal(bar.num, 0); +assert.equal(bar.num = 1, 1); +assert.equal(bar.str, "bar");