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:
6
test/function_ptr.cpp
Executable file
6
test/function_ptr.cpp
Executable 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);
|
||||
Reference in New Issue
Block a user