/* * Copyright (C) 2017, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: config * * Author: Thorben Hasenpusch * * Purpose: Rudimentary tests for a working implementation. */ #include class A{}; class B{ virtual ~B(); }; int main() { if (!std::is_void::value) { return -1; } if (!std::is_pointer::value) { return -1; } if (!std::is_class::value) { return -1; } if (!std::is_volatile::value) { return -1; } if (!std::is_empty::value) { return -1; } if (!std::has_virtual_destructor::value) { return -1; } if (std::is_empty::value) { return -1; } if (std::is_const>::value) { return -1; } if (!std::is_same::value, int>::type, int>::value) { return -1; } return 0; }