diff options
| author | Björn Gustavsson <[email protected]> | 2011-03-25 10:50:00 +0100 | 
|---|---|---|
| committer | Björn Gustavsson <[email protected]> | 2011-03-25 10:50:00 +0100 | 
| commit | d090e8e1c02f55853f202e30e0f664b4d15f77ea (patch) | |
| tree | 18e8a3786ae1309f92472e3bde52a70441a61685 /lib/stdlib/test | |
| parent | ba7d76fcb401e831c1279fc22c96856603ff4c48 (diff) | |
| parent | c7188f410f5d2688783dfbb850e1e55718885f87 (diff) | |
| download | otp-d090e8e1c02f55853f202e30e0f664b4d15f77ea.tar.gz otp-d090e8e1c02f55853f202e30e0f664b4d15f77ea.tar.bz2 otp-d090e8e1c02f55853f202e30e0f664b4d15f77ea.zip | |
Merge branch 'bjorn/compiler/bin-size-bug/OTP-9134' into dev
* bjorn/compiler/bin-size-bug/OTP-9134:
  v3_core: Fix variable incorrectly unbound after binary match
  v3_core: Fix style and indentation
Diffstat (limited to 'lib/stdlib/test')
| -rw-r--r-- | lib/stdlib/test/erl_eval_SUITE.erl | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/lib/stdlib/test/erl_eval_SUITE.erl b/lib/stdlib/test/erl_eval_SUITE.erl index 6b2eb78e2c..4b59cee99e 100644 --- a/lib/stdlib/test/erl_eval_SUITE.erl +++ b/lib/stdlib/test/erl_eval_SUITE.erl @@ -571,6 +571,17 @@ otp_5269(Config) when is_list(Config) ->                                   B:A>> <- [<<16:8,19:16>>],                                 <<X:8>> <- [<<B:8>>]].",                  [19]), +    ?line check(fun() -> +		(fun (<<A:1/binary, B:8/integer, _C:B/binary>>) -> +			    case A of +				B -> wrong; +				_ -> ok +			    end +		 end)(<<1,2,3,4>>) end, +		"(fun(<<A:1/binary, B:8/integer, _C:B/binary>>) ->" +			    " case A of B -> wrong; _ -> ok end" +		" end)(<<1, 2, 3, 4>>).", +		ok),      ok.  otp_6539(doc) -> | 
