/** \brief Check for compile failure
- \c COMPILE_FAIL() is used to check, that a certain piece of code will produce a compile
+ \c COMPILE_FAIL() is used to check, that a certain piece of code will produce a compile
time failure.
\code
// fails to compile ....
int x = "foo";
}
-
+
COMPILE_FAIL(bar)
{ ... }
\endcode
This check is performed by the extended unit-test builder in \c senfscons.
-
+
\ingroup unittest
*/
#define COMPILE_FAIL(n) void n()
#ifdef DOXYGEN
/** \brief Check for non-equality
-
+
\c SENF_CHECK_NOT_EQUAL() is the opposite of \c BOOST_CHECK_EQUAL.
\hideinitializer
\ingroup unittest