From 1ec3350589832aef62332ea8f11bdb2660904eb9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 27 Jun 2015 21:08:27 +0300 Subject: Add test 25. Update test results. --- test/test25-05.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/test25-05.txt (limited to 'test/test25-05.txt') diff --git a/test/test25-05.txt b/test/test25-05.txt new file mode 100644 index 0000000..83c663a --- /dev/null +++ b/test/test25-05.txt @@ -0,0 +1,8 @@ +test25.cpp: In member function 'void Object1::func1(Data1*)': +test25.cpp:43:22: warning: null argument where non-null required (argument 2) [-Wnonnull] + test1(nullptr); + ^ +test25.cpp: In member function 'void Object1::func2(Data1*)': +test25.cpp:48:14: warning: warning: possible null argument 'ptr1' where non-null required + test1(ptr1); + ^ -- cgit v1.2.3-60-g2f50