mirror of
https://github.com/boostorg/core.git
synced 2025-07-31 05:17:22 +02:00
Add tests for function types
This commit is contained in:
@ -105,6 +105,18 @@ int main()
|
|||||||
TEST(void*);
|
TEST(void*);
|
||||||
TEST(void const* volatile*);
|
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[]);
|
||||||
TEST(A const[]);
|
TEST(A const[]);
|
||||||
TEST(A volatile[]);
|
TEST(A volatile[]);
|
||||||
|
Reference in New Issue
Block a user