add test for issue #12
authorMihai Bazon <mihai@bazon.net>
Fri, 12 Oct 2012 07:49:48 +0000 (10:49 +0300)
committerMihai Bazon <mihai@bazon.net>
Fri, 12 Oct 2012 07:49:48 +0000 (10:49 +0300)
test/compress/issue-12.js [new file with mode: 0644]

diff --git a/test/compress/issue-12.js b/test/compress/issue-12.js
new file mode 100644 (file)
index 0000000..711c79e
--- /dev/null
@@ -0,0 +1,9 @@
+keep_name_of_getter: {
+    input: { a = { get foo () {} } }
+    expect: { a = { get foo () {} } }
+}
+
+keep_name_of_setter: {
+    input: { a = { set foo () {} } }
+    expect: { a = { set foo () {} } }
+}