forked from boostorg/config
Add BOOST_NULLPTR helper macro
This commit is contained in:
@@ -62,6 +62,10 @@ struct trait
|
||||
enum { value = b };
|
||||
};
|
||||
|
||||
void* test_nullptr()
|
||||
{
|
||||
return BOOST_NULLPTR;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -82,6 +86,8 @@ int main()
|
||||
{
|
||||
result += 2;
|
||||
}
|
||||
|
||||
test_nullptr();
|
||||
}
|
||||
catch(int)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user