mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 12:57:26 +02:00
Add tests for function types
This commit is contained in:
@ -105,6 +105,18 @@ int main()
|
||||
TEST(void*);
|
||||
TEST(void const* volatile*);
|
||||
|
||||
TEST(void());
|
||||
TEST(int(float, A, B*));
|
||||
|
||||
TEST(void(*)());
|
||||
TEST(void(&)());
|
||||
|
||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||
|
||||
TEST(void(&&)());
|
||||
|
||||
#endif
|
||||
|
||||
TEST(A[]);
|
||||
TEST(A const[]);
|
||||
TEST(A volatile[]);
|
||||
|
Reference in New Issue
Block a user