This website requires JavaScript.
Explore
Help
Sign In
walkero
/
cppcheck
Watch
1
Star
0
Fork
You've already forked cppcheck
0
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
8ec92256ea
cppcheck
/
internaltesting
/
testdecl.cpp
15 lines
140 B
C++
Raw
Normal View
History
Unescape
Escape
Test: Internal testing
2007-05-15 18:50:22 +02:00
void
f
(
)
{
int
a
;
int
b
=
2
,
c
,
*
d
=
NULL
;
int
e
=
g
(
p1
,
p2
)
;
char
str
[
10
]
;
Testing: "return" and "delete" are not variable declarations
2007-05-17 19:26:32 +02:00
return
a
;
delete
a
;
Test: Internal testing
2007-05-15 18:50:22 +02:00
}