aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/compile_SUITE_data/deterministic_module.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-11-13 12:58:04 +0100
committerBjörn Gustavsson <[email protected]>2017-11-13 13:11:37 +0100
commit8059d34e52587880b0bbb6eb2845e6a46cb19d21 (patch)
treec14b5cb1cdf470ac073143d09ace2250a88ec9d4 /lib/compiler/test/compile_SUITE_data/deterministic_module.erl
parent743e5a4d6b71317672e2527b0ab77ec45d91aac9 (diff)
parentcde4ddc0494c9cdc8169dbc552e0e9b91c3a1b30 (diff)
downloadotp-8059d34e52587880b0bbb6eb2845e6a46cb19d21.tar.gz
otp-8059d34e52587880b0bbb6eb2845e6a46cb19d21.tar.bz2
otp-8059d34e52587880b0bbb6eb2845e6a46cb19d21.zip
Merge branch 'maint'
* maint: Recognize 'deterministic' when given in a -compile() attribute Conflicts: lib/compiler/src/beam_asm.erl
Diffstat (limited to 'lib/compiler/test/compile_SUITE_data/deterministic_module.erl')
-rw-r--r--lib/compiler/test/compile_SUITE_data/deterministic_module.erl21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/compiler/test/compile_SUITE_data/deterministic_module.erl b/lib/compiler/test/compile_SUITE_data/deterministic_module.erl
new file mode 100644
index 0000000000..5e0e29c25e
--- /dev/null
+++ b/lib/compiler/test/compile_SUITE_data/deterministic_module.erl
@@ -0,0 +1,21 @@
+%%
+%% %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(deterministic_module).
+-compile([deterministic]).