aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-07-11 14:39:58 +0200
committerFredrik Gustafsson <[email protected]>2013-07-11 14:39:58 +0200
commit467cf7656742892ce964468b39649a8a5759925c (patch)
tree57b564aa1e24695fbf7be9ea3c082a5df0a19d90 /lib/compiler
parent20fae602c85197ef56aa59648a6891871bb15875 (diff)
parent193639fde33e135cc390f1df13076e5632fdd43c (diff)
downloadotp-467cf7656742892ce964468b39649a8a5759925c.tar.gz
otp-467cf7656742892ce964468b39649a8a5759925c.tar.bz2
otp-467cf7656742892ce964468b39649a8a5759925c.zip
Merge branch 'maint'
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/test/bs_construct_SUITE.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compiler/test/bs_construct_SUITE.erl b/lib/compiler/test/bs_construct_SUITE.erl
index 4ea5235bb6..ce39de2a82 100644
--- a/lib/compiler/test/bs_construct_SUITE.erl
+++ b/lib/compiler/test/bs_construct_SUITE.erl
@@ -319,6 +319,8 @@ in_guard(Config) when is_list(Config) ->
?line 1 = in_guard_1(<<16#74ad:16>>, 16#e95, 5),
?line 2 = in_guard_1(<<16#3A,16#F7,"hello">>, 16#3AF7, <<"hello">>),
?line 3 = in_guard_1(<<16#FBCD:14,3.1415/float,3:2>>, 16#FBCD, 3.1415),
+ ?line 3 = in_guard_1(<<16#FBCD:14,3/float,3:2>>, 16#FBCD, 3),
+ ?line 3 = in_guard_1(<<16#FBCD:14,(2 bsl 226)/float,3:2>>, 16#FBCD, 2 bsl 226),
?line nope = in_guard_1(<<1>>, 42, b),
?line nope = in_guard_1(<<1>>, a, b),
?line nope = in_guard_1(<<1,2>>, 1, 1),