aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/hipe_SUITE_data/trycatch_3.erl
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/hipe_SUITE_data/trycatch_3.erl')
-rw-r--r--erts/emulator/test/hipe_SUITE_data/trycatch_3.erl9
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/emulator/test/hipe_SUITE_data/trycatch_3.erl b/erts/emulator/test/hipe_SUITE_data/trycatch_3.erl
new file mode 100644
index 0000000000..578fa0e87e
--- /dev/null
+++ b/erts/emulator/test/hipe_SUITE_data/trycatch_3.erl
@@ -0,0 +1,9 @@
+-module(trycatch_3).
+-export([three/1]).
+
+three({error,Term}) ->
+ error(Term);
+three({throw,Term}) ->
+ throw(Term);
+three({exit,Term}) ->
+ exit(Term).