From 0abc7970e064456e49a2e651c1b03d038f3e98df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Thu, 4 May 2017 06:49:15 +0200 Subject: compile_SUITE: Test the r16, r17, r18, r19 options Also test other options that turns off certain optimizations or instruction sets. --- lib/compiler/test/compile_SUITE_data/small_float.erl | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lib/compiler/test/compile_SUITE_data/small_float.erl (limited to 'lib/compiler/test/compile_SUITE_data/small_float.erl') diff --git a/lib/compiler/test/compile_SUITE_data/small_float.erl b/lib/compiler/test/compile_SUITE_data/small_float.erl new file mode 100644 index 0000000000..5cbb5aef83 --- /dev/null +++ b/lib/compiler/test/compile_SUITE_data/small_float.erl @@ -0,0 +1,5 @@ +-module(small_float). +-export([f/1]). + +f(F) when is_float(F) -> + F / 2. -- cgit v1.2.3