add namespaces to create linker errors

This commit is contained in:
Denis Blank 2015-08-11 20:39:47 +02:00
parent 5e5273fae7
commit af323ef531
2 changed files with 15 additions and 0 deletions

View File

@ -39,6 +39,9 @@
#include <boost/optional.hpp>
namespace incubator
{
enum SpellCastResult
{
SPELL_FAILED_SUCCESS = 0,
@ -714,6 +717,10 @@ void test_cross_forward()
++i;
}
} // namespace incubator
using namespace incubator;
void test_incubator()
{
test_cross_forward();

View File

@ -20,6 +20,10 @@
#include <tuple>
#include <memory>
namespace mockup
{
template <typename...>
struct Continuable;
@ -172,6 +176,10 @@ void final_mockup()
});
}
}// namespace mockup
using namespace mockup;
void test_mockup()
{
create_continuable_mockup();