anchor.diff:  %%
   %% %CopyrightBegin%
   %%
  -%% Copyright Ericsson AB 2010-2013. All Rights Reserved.
  +%% Copyright Ericsson AB 2010-2014. All Rights Reserved.
   %%
   %% The contents of this file are subject to the Erlang Public License,
   %% Version 1.1, (the "License"); you may not use this file except in
  
positive.code: %% # xref/1
  %%
  %% Ensure that no function in our application calls an undefined function
  %% or one in an application we haven't specified as a dependency. (Almost.)
  %% ===========================================================================
  
  xref(Config) ->
      App = fetch(app, Config),
      Mods = fetch(modules, App),
  
      {ok, XRef} = xref:start(make_name(xref_test_name)),
      ok = xref:set_default(XRef, [{verbose, false}, {warnings, false}]),
  
negative.code:                        [?APP, erts | fetch(applications, App)]),
  
      {ok, Undefs} = xref:analyze(XRef, undefined_function_calls),
      {ok, CTdeps} = xref:analyze(XRef, {module_call, ?COMPILER_MODULES}),
      {ok, RTdeps} = xref:analyze(XRef, {module_call, Mods}),
  
      xref:stop(XRef),
  
  