summaryrefslogtreecommitdiff
path: root/test/test25-05.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test25-05.txt')
-rw-r--r--test/test25-05.txt8
1 files changed, 8 insertions, 0 deletions
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);
+ ^