#pragma once #define MIXIN_TRAIT_TESTS #ifdef MIXIN_TRAIT_TESTS # include "mixin-traits.hpp" namespace mixins::traits_detail { struct A {}; struct B : A {}; struct C {}; template<> struct mixin_traits { using depends = tuple; }; template<> struct mixin_traits { using depends = tuple; }; template<> struct mixin_traits { using depends = tuple; }; extern void test1(); void test1() { //impl fail1; impl ok1; } } // ns mixins::traits_detail #endif