aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-02-12 12:47:26 +0100
committerBjörn Gustavsson <[email protected]>2015-03-09 09:59:36 +0100
commit5a6c78379cbbdf945d78a6b9d3c2c8d37db71607 (patch)
tree78946ea93cb9309cb5eca423d7660b6ab897dbdd /lib/compiler/test
parent86fbd6d76d342906e2a77df877013ea68de73cfb (diff)
downloadotp-5a6c78379cbbdf945d78a6b9d3c2c8d37db71607.tar.gz
otp-5a6c78379cbbdf945d78a6b9d3c2c8d37db71607.tar.bz2
otp-5a6c78379cbbdf945d78a6b9d3c2c8d37db71607.zip
Update type information based on BIFs that returns integers
Diffstat (limited to 'lib/compiler/test')
-rw-r--r--lib/compiler/test/core_fold_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/test/core_fold_SUITE.erl b/lib/compiler/test/core_fold_SUITE.erl
index 512aada203..9228aa7fd1 100644
--- a/lib/compiler/test/core_fold_SUITE.erl
+++ b/lib/compiler/test/core_fold_SUITE.erl
@@ -88,6 +88,7 @@ t_element(Config) when is_list(Config) ->
{_,_,_}=Tup ->
?line {'EXIT',{badarg,_}} = (catch element(4, Tup))
end,
+ {'EXIT',{badarg,_}} = (catch element(1, tuple_size(Tuple))),
ok.