diff options
Diffstat (limited to 'tests/auto/qtipc/lackey/scripts/readonly_segfault.js')
-rw-r--r-- | tests/auto/qtipc/lackey/scripts/readonly_segfault.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qtipc/lackey/scripts/readonly_segfault.js b/tests/auto/qtipc/lackey/scripts/readonly_segfault.js new file mode 100644 index 0000000..3eaf789 --- /dev/null +++ b/tests/auto/qtipc/lackey/scripts/readonly_segfault.js @@ -0,0 +1,4 @@ +var sm = new ScriptSharedMemory; +sm.setKey("readonly_segfault"); +sm.createReadOnly(1024); +var data = sm.set(0, "a"); |