Testing: "return" and "delete" are not variable declarations
This commit is contained in:
parent
262c213a13
commit
45f2292a5e
|
@ -6,6 +6,9 @@ void f()
|
|||
int b = 2, c, *d = NULL;
|
||||
int e = g(p1,p2);
|
||||
char str[10];
|
||||
|
||||
return a;
|
||||
delete a;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -11,4 +11,6 @@
|
|||
7 : use p1
|
||||
7 : use p2
|
||||
8 : decl str
|
||||
9 : }
|
||||
10 : return a
|
||||
11 : delete a
|
||||
12 : }
|
||||
|
|
Loading…
Reference in New Issue