aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-02-13 15:49:47 +0100
committerHans Bolinder <[email protected]>2017-03-08 14:11:49 +0100
commiteaaaddd7cece8fd952700613ff984196e3627004 (patch)
tree7c4aeb6f8097d9d83fff49937b8f0f638e0d0786 /lib/compiler/test
parentf2fcba57bd0c932882460a7523e2cbed634975dd (diff)
downloadotp-eaaaddd7cece8fd952700613ff984196e3627004.tar.gz
otp-eaaaddd7cece8fd952700613ff984196e3627004.tar.bz2
otp-eaaaddd7cece8fd952700613ff984196e3627004.zip
compiler: Fix handling of locations and annotations
Diffstat (limited to 'lib/compiler/test')
-rw-r--r--lib/compiler/test/guard_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/guard_SUITE.erl b/lib/compiler/test/guard_SUITE.erl
index a662d85272..ccb9b58225 100644
--- a/lib/compiler/test/guard_SUITE.erl
+++ b/lib/compiler/test/guard_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2001-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2001-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.
@@ -1538,7 +1538,7 @@ literal_type_tests_1(Config) ->
Func = {function, Anno, test, 0, [{clause,Anno,[],[],Tests}]},
Form = [{attribute,Anno,module,Mod},
{attribute,Anno,compile,export_all},
- Func, {eof,Anno}],
+ Func, {eof,999}],
%% Print generated code for inspection.
lists:foreach(fun (F) -> io:put_chars([erl_pp:form(F),"\n"]) end, Form),