Only if I could spell C++ :)

This commit is contained in:
Vassil Vassilev 2013-08-08 16:54:39 +02:00 committed by sftnight
parent e8e2932892
commit 6c734dd78c

View File

@ -14,8 +14,8 @@ MyClass* my = 0;
my->getA() // expected-warning {{you are about to dereference null ptr, which probably will lead to seg violation. Do you want to proceed?[y/n]}}
struct AggregatedNull {
MyClass* m;
AggregatedNull() : m(0) {}
MyClass m;
}
AggregatedNull agrNull;