diff --git a/test/compiler/attribute-empty-svg/_config.js b/test/compiler/attribute-empty-svg/_config.js
new file mode 100644
index 0000000000..d4b849ad89
--- /dev/null
+++ b/test/compiler/attribute-empty-svg/_config.js
@@ -0,0 +1,7 @@
+export default {
+ html: `
+
+ `
+};
diff --git a/test/compiler/attribute-empty-svg/main.html b/test/compiler/attribute-empty-svg/main.html
new file mode 100644
index 0000000000..d506782626
--- /dev/null
+++ b/test/compiler/attribute-empty-svg/main.html
@@ -0,0 +1,3 @@
+