diff options
author | John Högberg <[email protected]> | 2018-10-08 07:50:29 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-10-08 07:50:29 +0200 |
commit | e2a1ec914d9bec9f9310669df877601eed2f808d (patch) | |
tree | 287508f59246146dceb080060a5b120f97c4cf2c /lib/stdlib/test/epp_SUITE_data/source_name.erl | |
parent | 3ea2ff5697d1ee53a31d7f0530692f49e9d0c516 (diff) | |
parent | 4312fba6cf15a41b7331c2309104dd82f29be9d6 (diff) | |
download | otp-e2a1ec914d9bec9f9310669df877601eed2f808d.tar.gz otp-e2a1ec914d9bec9f9310669df877601eed2f808d.tar.bz2 otp-e2a1ec914d9bec9f9310669df877601eed2f808d.zip |
Merge branch 'maint'
* maint:
compiler: Forward +source flag to epp and fix bug in +deterministic
epp: Allow user to set source name independently of input file name
Diffstat (limited to 'lib/stdlib/test/epp_SUITE_data/source_name.erl')
-rw-r--r-- | lib/stdlib/test/epp_SUITE_data/source_name.erl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/stdlib/test/epp_SUITE_data/source_name.erl b/lib/stdlib/test/epp_SUITE_data/source_name.erl new file mode 100644 index 0000000000..71ad2dddb9 --- /dev/null +++ b/lib/stdlib/test/epp_SUITE_data/source_name.erl @@ -0,0 +1,27 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2018. 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(source_name). +-export([ok/0]). + +%% Changing source name should not affect headers +-include("bar.hrl"). + +ok() -> ok. |