testing something

This commit is contained in:
Jordan Maples [MSFT] 2019-12-20 13:32:14 -08:00
parent 8577033f13
commit 40bc3c3f00

View File

@ -46,16 +46,12 @@
#include <string> // for basic_string, operator==, string, operator<< #include <string> // for basic_string, operator==, string, operator<<
#include <typeinfo> // for type_info #include <typeinfo> // for type_info
namespace gsl
{
struct fail_fast;
} // namespace gsl
using namespace gsl; using namespace gsl;
namespace namespace
{ {
static constexpr char deathstring[] = "Expected Death"; static constexpr char deathstring[] = "Expected Death";
} //namespace
struct MyBase struct MyBase
{ {
@ -149,7 +145,6 @@ GSL_SUPPRESS(f.4) // NO-FORMAT: attribute
bool helper_const(not_null<const int*> p) { return *p == 12; } bool helper_const(not_null<const int*> p) { return *p == 12; }
int* return_pointer() { return nullptr; } int* return_pointer() { return nullptr; }
} //namespace
TEST(notnull_tests, TestNotNullConstructors) TEST(notnull_tests, TestNotNullConstructors)
{ {