Danny Robson
34788756d2
GCC produces ODR error when including paths of the form './foo' and 'foo' in the same binary. Rather than managing duplication we just universally pick the absolute form over the relative form.
17 lines
487 B
C++
17 lines
487 B
C++
#include "../tap.hpp"
|
|
|
|
#include "../typeidx.hpp"
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
int
|
|
main (int, char**)
|
|
{
|
|
util::TAP::logger tap;
|
|
|
|
tap.expect_eq (util::typeidx<int> (), util::typeidx<int> (), "equality for int");
|
|
tap.expect_eq (util::typeidx<float> (), util::typeidx<float> (), "equality for float");
|
|
tap.expect_neq (util::typeidx<int> (), util::typeidx<float> (), "inequality for int/float");
|
|
|
|
return tap.status ();
|
|
} |