xlnt/third-party/cxxtest/test/ThrowNoStd.h

11 lines
174 B
C++

#include <cxxtest/TestSuite.h>
class ThrowNoStd : public CxxTest::TestSuite
{
public:
void testThrowNoStd()
{
TS_ASSERT_THROWS( { throw 1; }, int);
}
};