aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-06-26 14:31:15 +0200
committerHans Bolinder <[email protected]>2014-06-26 15:07:01 +0200
commitd78df206f9356629d82891e5853f7ff53c9f9749 (patch)
tree7bc0690dae4881831308cd14b40365e9e717584b /lib/dialyzer/test/small_SUITE_data/src
parente54518231ac28096dec8f0a63afe527916ff1343 (diff)
downloadotp-d78df206f9356629d82891e5853f7ff53c9f9749.tar.gz
otp-d78df206f9356629d82891e5853f7ff53c9f9749.tar.bz2
otp-d78df206f9356629d82891e5853f7ff53c9f9749.zip
hipe: Correct pretty-printing of bitstrings
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data/src')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/src/pretty_bitstring.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/pretty_bitstring.erl b/lib/dialyzer/test/small_SUITE_data/src/pretty_bitstring.erl
new file mode 100644
index 0000000000..3dbf5ab7a7
--- /dev/null
+++ b/lib/dialyzer/test/small_SUITE_data/src/pretty_bitstring.erl
@@ -0,0 +1,8 @@
+%% Prettyprint bitstrings.
+
+-module(pretty_bitstring).
+
+-export([t/0]).
+
+t() ->
+ binary:copy(<<1,2,3:3>>,2).