summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtipc/lackey/scripts/readonly_segfault.js
blob: 3eaf789d23433e61f27790778d48d71e365e9ca6 (plain)
1
2
3
4
var sm = new ScriptSharedMemory;
sm.setKey("readonly_segfault");
sm.createReadOnly(1024);
var data = sm.set(0, "a");