mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
testing something
This commit is contained in:
parent
8577033f13
commit
40bc3c3f00
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user