aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-04-03 12:23:57 +0200
committerFredrik Gustafsson <[email protected]>2013-04-03 12:23:57 +0200
commit4aeae59a6359d29b165f7f62c9717bb2986dbe4d (patch)
treeda7da1b1d96d71c0c7c04e374f27e0fa4b8159bf /lib/compiler/test
parentf77675dfc1a3a9bfd65fdbe44ec412c5f0de5bb7 (diff)
parentfa4f5ba69957ce79e5f7781af26d183cdb0b77b0 (diff)
downloadotp-4aeae59a6359d29b165f7f62c9717bb2986dbe4d.tar.gz
otp-4aeae59a6359d29b165f7f62c9717bb2986dbe4d.tar.bz2
otp-4aeae59a6359d29b165f7f62c9717bb2986dbe4d.zip
Merge branch 'nox/fix-bc-optim/OTP-11005' into maint
* nox/fix-bc-optim/OTP-11005: Add a new option +clint0 to the compiler Fix optimization of some binary comprehensions
Diffstat (limited to 'lib/compiler/test')
-rw-r--r--lib/compiler/test/bs_bincomp_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/compiler/test/bs_bincomp_SUITE.erl b/lib/compiler/test/bs_bincomp_SUITE.erl
index d39e340429..451a9b1e3b 100644
--- a/lib/compiler/test/bs_bincomp_SUITE.erl
+++ b/lib/compiler/test/bs_bincomp_SUITE.erl
@@ -282,6 +282,9 @@ sizes(Config) when is_list(Config) ->
?line <<1,2,3,0>> = Fun13(7),
?line <<1,2,3,0,0>> = Fun13(8),
+ <<0:3>> = cs_default(<< <<0:S>> || S <- [0,1,2] >>),
+ <<0:3>> = cs_default(<< <<0:S>> || <<S>> <= <<0,1,2>> >>),
+
?line {'EXIT',_} = (catch << <<C:4>> || <<C:8>> <= {1,2,3} >>),
?line cs_end(),