summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T3236.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rts/T3236.c')
-rw-r--r--testsuite/tests/rts/T3236.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/rts/T3236.c b/testsuite/tests/rts/T3236.c
new file mode 100644
index 0000000000..92d4c12dcd
--- /dev/null
+++ b/testsuite/tests/rts/T3236.c
@@ -0,0 +1,7 @@
+#include "Rts.h"
+
+int main (int argc, char *argv[])
+{
+ // should fail: RTS is not initialised
+ rts_lock();
+}