2
0
mirror of https://github.com/boostorg/typeof.git synced 2026-01-23 06:02:16 +00:00

added more tests

[SVN r30908]
This commit is contained in:
Arkadiy Vertleyb
2005-09-11 14:59:52 +00:00
parent 2bc33ea912
commit 9bb8a83f24
9 changed files with 91 additions and 5 deletions

6
test/function_ptr.cpp Executable file
View File

@@ -0,0 +1,6 @@
#include "test.hpp"
BOOST_STATIC_ASSERT(boost::type_of::test<double(*)()>::value);
BOOST_STATIC_ASSERT(boost::type_of::test<double(*)(int, double, short, char*, bool, char, float, long, unsigned short)>::value);
BOOST_STATIC_ASSERT(boost::type_of::test<void(*)()>::value);
BOOST_STATIC_ASSERT(boost::type_of::test<void(*)(int, double, short, char*, bool, char, float, long, unsigned short)>::value);