summaryrefslogtreecommitdiff
path: root/test/test36-05.txt
blob: 15e8b4c0fec8de7808a31da77ed424e019b88787 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
test36.cpp: In member function 'void Object1::func1()':
test36.cpp:54:16: warning: unused variable 'ptr1' [-Wunused-variable]
         Data1 *ptr1 = new Data1;
                ^
test36.cpp: In member function 'void Object1::func2()':
test36.cpp:69:16: warning: unused variable 'ptr1' [-Wunused-variable]
         Data1 *ptr1 = new Data1[10];
                ^
test36.cpp: In member function 'void Object1::func3()':
test36.cpp:84:14: warning: unused variable 'ptr1' [-Wunused-variable]
         int *ptr1 = new int[10];
              ^