Add test for a MSVC parsing problem in make_shared

This commit is contained in:
Peter Dimov
2017-03-01 12:02:30 +02:00
parent 52fbf70879
commit f8524c42a8
2 changed files with 21 additions and 0 deletions

View File

@ -205,5 +205,7 @@ import testing ;
[ compile-fail pointer_cast_dy_fail3.cpp ]
[ run sp_nothrow_test.cpp ]
[ compile make_shared_msvc_test.cpp ]
;
}

View 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()
{
}