diff --git a/test/runtime/samples/script-style-non-top-level/_config.js b/test/runtime/samples/script-style-non-top-level/_config.js
new file mode 100644
index 000000000000..1aade72239df
--- /dev/null
+++ b/test/runtime/samples/script-style-non-top-level/_config.js
@@ -0,0 +1,8 @@
+export default {
+ html: `
+
+
+
+
+ `
+};
\ No newline at end of file
diff --git a/test/runtime/samples/script-style-non-top-level/main.html b/test/runtime/samples/script-style-non-top-level/main.html
new file mode 100644
index 000000000000..94cf72e4bd90
--- /dev/null
+++ b/test/runtime/samples/script-style-non-top-level/main.html
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file