summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/scriptengine/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/installer/scriptengine/data')
-rw-r--r--tests/auto/installer/scriptengine/data/broken_connect.qs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/installer/scriptengine/data/broken_connect.qs b/tests/auto/installer/scriptengine/data/broken_connect.qs
new file mode 100644
index 000000000..2fe873b63
--- /dev/null
+++ b/tests/auto/installer/scriptengine/data/broken_connect.qs
@@ -0,0 +1,11 @@
+function BrokenConnect()
+{
+ emiter.emitted.connect(receive)
+}
+
+function receive()
+{
+ print("function receive()");
+ // this should throw an exception, "foo" does not exist
+ foo.bar = "test";
+}