Files
rtems/testsuites/libtests/dl05/dl-cpp.cpp
2016-09-08 16:52:39 +10:00

15 lines
281 B
C++

/*
* The base image needs this to include the RTTI data.
*/
#include <cstdio>
#include <stdexcept>
#include "dl-load.h"
void exception_base(bool istrue)
{
printf("exception_base called\n");
if (istrue)
{
throw std::runtime_error("dummy call to link in symbols");
}
}