#! /bin/sh
#
# DO NOT EDIT BY HAND - Generated by ../bin/generate-test-suite.sh
#
# Vaucanson, a generic library for finite state machines.
# Copyright (C) 2001, 2002, 2004, 2005, 2006 The Vaucanson Group.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# The complete GNU General Public Licence Notice can be found as the
# `COPYING' file in the root directory.
#
# The Vaucanson Group consists of people listed in the `AUTHORS' file.
#
fail ()
{
  echo "FAIL: Program $1 succeed to compile."
  exit 1
}

cmd="$CXX $CXXFLAGS -c $srcdir/constructor_without_arguments2-failcomp.cc"
echo "*** THIS COMPILATION IS EXPECTED TO FAIL, THIS IS NOT A BUG ***"
echo $cmd
$cmd && fail constructor_without_arguments2-failcomp
echo "*** END OF FAILED COMPILATION, THIS IS NOT A BUG ***"

cmd="$CXX $CXXFLAGS -c $srcdir/constructor_without_arguments-failcomp.cc"
echo "*** THIS COMPILATION IS EXPECTED TO FAIL, THIS IS NOT A BUG ***"
echo $cmd
$cmd && fail constructor_without_arguments-failcomp
echo "*** END OF FAILED COMPILATION, THIS IS NOT A BUG ***"

exit 0
