summaryrefslogtreecommitdiff
path: root/test/test28-04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test28-04.txt')
-rw-r--r--test/test28-04.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test28-04.txt b/test/test28-04.txt
new file mode 100644
index 0000000..ca36aad
--- /dev/null
+++ b/test/test28-04.txt
@@ -0,0 +1,10 @@
+test28.cpp: In member function 'void Object1::func9(Data1*)':
+test28.cpp:182:13: warning: Useless variable check 'ptr1'. It already was checked before
+ if (ptr1)
+ ^
+test28.cpp:193:18: warning: Useless variable check 'ptr1'. It already was checked before
+ if (!ptr1)
+ ^
+test28.cpp:218:18: warning: Useless variable check 'ptr1'. It already was checked before
+ if (!ptr1)
+ ^