forked from boostorg/smart_ptr
Add test for a MSVC parsing problem in make_shared
This commit is contained in:
@ -205,5 +205,7 @@ import testing ;
|
|||||||
[ compile-fail pointer_cast_dy_fail3.cpp ]
|
[ compile-fail pointer_cast_dy_fail3.cpp ]
|
||||||
|
|
||||||
[ run sp_nothrow_test.cpp ]
|
[ run sp_nothrow_test.cpp ]
|
||||||
|
|
||||||
|
[ compile make_shared_msvc_test.cpp ]
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
19
test/make_shared_msvc_test.cpp
Normal file
19
test/make_shared_msvc_test.cpp
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
//
|
||||||
|
// make_shared_msvc_test.cpp
|
||||||
|
//
|
||||||
|
// Copyright 2017 Peter Dimov
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
//
|
||||||
|
|
||||||
|
template<class T> struct value
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
#include <boost/make_shared.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
Reference in New Issue
Block a user