aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/unicode_expand.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-06-20 12:27:35 +0200
committerSiri Hansen <[email protected]>2017-09-05 11:02:25 +0200
commitd9e56433f0aff84cae516486fdd7043de38f23fe (patch)
tree37261a7ad68eeda3e80fbec3b68b88f0bd41f392 /lib/stdlib/test/unicode_expand.erl
parent2ca6b53da655b4c1377e8ddb818ce70c71e3538e (diff)
downloadotp-d9e56433f0aff84cae516486fdd7043de38f23fe.tar.gz
otp-d9e56433f0aff84cae516486fdd7043de38f23fe.tar.bz2
otp-d9e56433f0aff84cae516486fdd7043de38f23fe.zip
stdlib: Improve handling of Unicode in edlin_expand
Diffstat (limited to 'lib/stdlib/test/unicode_expand.erl')
-rw-r--r--lib/stdlib/test/unicode_expand.erl36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/stdlib/test/unicode_expand.erl b/lib/stdlib/test/unicode_expand.erl
new file mode 100644
index 0000000000..41f741fa84
--- /dev/null
+++ b/lib/stdlib/test/unicode_expand.erl
@@ -0,0 +1,36 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2017. All Rights Reserved.
+%%
+%% Licensed under the Apache License, Version 2.0 (the "License");
+%% you may not use this file except in compliance with the License.
+%% You may obtain a copy of the License at
+%%
+%% http://www.apache.org/licenses/LICENSE-2.0
+%%
+%% Unless required by applicable law or agreed to in writing, software
+%% distributed under the License is distributed on an "AS IS" BASIS,
+%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+%% See the License for the specific language governing permissions and
+%% limitations under the License.
+%%
+%% %CopyrightEnd%
+%%
+-module(unicode_expand).
+
+-export(['кlирилли́ческий атом'/0, 'кlирилли́ческий атом'/1,
+ 'кlирилли́ческий атомB'/1]).
+
+-export_type(['кlирилли́ческий атом'/0]).
+
+-type 'кlирилли́ческий атом'() :: integer().
+
+'кlирилли́ческий атом'() ->
+ 'кlирилли́ческий атом'('кlирилли́ческий атом').
+
+'кlирилли́ческий атом'(_Atom) ->
+ ok.
+
+'кlирилли́ческий атомB'(_B) ->
+ true.