aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/nif_SUITE_data
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-01 11:40:48 +0100
committerSverker Eriksson <[email protected]>2016-11-01 11:40:48 +0100
commit24485c421f15b00d0b5c97633d701373b53897a5 (patch)
tree449b998694507e6407fc93b0e014768eb89bd80e /erts/emulator/test/nif_SUITE_data
parentf27fdee291673134d5cd626f0ba6b11fbc305052 (diff)
downloadotp-24485c421f15b00d0b5c97633d701373b53897a5.tar.gz
otp-24485c421f15b00d0b5c97633d701373b53897a5.tar.bz2
otp-24485c421f15b00d0b5c97633d701373b53897a5.zip
erts: Add notsup error for load_nif/2 from hipe code
Diffstat (limited to 'erts/emulator/test/nif_SUITE_data')
-rw-r--r--erts/emulator/test/nif_SUITE_data/hipe_compiled.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/test/nif_SUITE_data/hipe_compiled.erl b/erts/emulator/test/nif_SUITE_data/hipe_compiled.erl
new file mode 100644
index 0000000000..84ddbc8d63
--- /dev/null
+++ b/erts/emulator/test/nif_SUITE_data/hipe_compiled.erl
@@ -0,0 +1,6 @@
+-module(hipe_compiled).
+
+-export([try_load_nif/0]).
+
+try_load_nif() ->
+ erlang:load_nif("doesn't matter", 0).