aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/bs_shadowed_size_var.core
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-04-20 10:19:55 +0200
committerBjörn Gustavsson <[email protected]>2015-04-22 10:12:32 +0200
commit37996d71a60f8aa4dd1078a7903098aa656b9e35 (patch)
tree88fbbff8e18794cf4d2ec1cd109c25274941c880 /lib/compiler/test/bs_shadowed_size_var.core
parent81354ca6651ff23ecff8dc93e1db13c115bb8369 (diff)
downloadotp-37996d71a60f8aa4dd1078a7903098aa656b9e35.tar.gz
otp-37996d71a60f8aa4dd1078a7903098aa656b9e35.tar.bz2
otp-37996d71a60f8aa4dd1078a7903098aa656b9e35.zip
test suite: Always place .core files in data directories
For tidiness, always place .core files in data directories.
Diffstat (limited to 'lib/compiler/test/bs_shadowed_size_var.core')
-rw-r--r--lib/compiler/test/bs_shadowed_size_var.core25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/compiler/test/bs_shadowed_size_var.core b/lib/compiler/test/bs_shadowed_size_var.core
deleted file mode 100644
index d1d5ebba6d..0000000000
--- a/lib/compiler/test/bs_shadowed_size_var.core
+++ /dev/null
@@ -1,25 +0,0 @@
-module 'bs_shadowed_size_var' ['filter_essentials'/1]
- attributes []
-
-%% Reduced code from beam_asm inlined using the old inliner.
-
-'filter_essentials'/1 =
- fun (_cor0) ->
- case _cor0 of
- <[#{#<Sz>(32,1,'integer',['unsigned','big']) }#|T]> when 'true' ->
- let <_cor4> =
- case T of
- %% Variable 'Sz' repeated here. Should work.
- <#{#<Sz>(32,1,'integer',['unsigned','big']),
- #<Data>(Sz,8,'binary',['unsigned','big'])}#> when 'true' ->
- Data
- <_cor5> when 'true' ->
- primop 'match_fail'
- ({'case_clause',{_cor5}})
- end
- in [Sz|_cor4]
- <_cor5> when 'true' ->
- primop 'match_fail'
- ({'function_clause',_cor5})
- end
-end