/test/language/error_warning_msg/aux_inherit12_d.e

http://github.com/tybor/Liberty · Specman e · 28 lines · 5 code · 0 blank · 23 comment · 0 complexity · 5979c9aef4fc4d81c6fa33f8cb98e8e5 MD5 · raw file

  1. -- This file is part of SmartEiffel The GNU Eiffel Compiler Tools and Libraries.
  2. -- See the Copyright notice at the end of this file.
  3. --
  4. class AUX_INHERIT12_D
  5. -- in this class, the feature `foo' has two conformant paths; this should not compile. There is a detection problem because two
  6. -- different feature stamps fall: the qone from AUX_INHERIT12_A, and the merged one from AUX_INHERIT12_C.
  7. inherit
  8. AUX_INHERIT12_A
  9. AUX_INHERIT12_C
  10. end -- class AUX_INHERIT12_D
  11. --
  12. -- ------------------------------------------------------------------------------------------------------------------------------
  13. -- Copyright notice below. Please read.
  14. --
  15. -- SmartEiffel is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License,
  16. -- as published by the Free Software Foundation; either version 2, or (at your option) any later version.
  17. -- SmartEiffel is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty
  18. -- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have
  19. -- received a copy of the GNU General Public License along with SmartEiffel; see the file COPYING. If not, write to the Free
  20. -- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  21. --
  22. -- Copyright(C) 1994-2002: INRIA - LORIA (INRIA Lorraine) - ESIAL U.H.P. - University of Nancy 1 - FRANCE
  23. -- Copyright(C) 2003-2006: INRIA - LORIA (INRIA Lorraine) - I.U.T. Charlemagne - University of Nancy 2 - FRANCE
  24. --
  25. -- Authors: Dominique COLNET, Philippe RIBET, Cyril ADRIAN, Vincent CROIZIER, Frederic MERIZEN
  26. --
  27. -- http://SmartEiffel.loria.fr - SmartEiffel@loria.fr
  28. -- ------------------------------------------------------------------------------------------------------------------------------