Fixed Intel 7 issue (reported by Daniel Frey)

[SVN r19145]
This commit is contained in:
Peter Dimov
2014-06-01 01:15:24 +03:00
parent 5da17fb9ef
commit 82aa7bfcbc
2 changed files with 6 additions and 5 deletions
+2 -3
View File
@@ -23,9 +23,8 @@ namespace
int main()
{
Incomplete * p;
Incomplete * p = 0;
boost::checked_delete(p); // should cause compile time error
Incomplete ** pa;
boost::checked_array_delete(pa); // should cause compile time error
boost::checked_array_delete(p); // should cause compile time error
return 0;
} // main