Test: Internal testing, added "testuse"
This commit is contained in:
parent
6b444fbde3
commit
7802239725
|
@ -10,3 +10,5 @@ hydfc internaltesting\testassign.out internaltesting\testassign.msg
|
|||
cppcheck --debug internaltesting\testnew.cpp > internaltesting\testnew.msg
|
||||
hydfc internaltesting\testnew.out internaltesting\testnew.msg
|
||||
|
||||
cppcheck --debug internaltesting\testuse.cpp > internaltesting\testuse.msg
|
||||
hydfc internaltesting\testuse.out internaltesting\testuse.msg
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
void f()
|
||||
{
|
||||
a = b;
|
||||
c = func(d,e);
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
assign a
|
||||
use b
|
||||
assign c
|
||||
use d
|
||||
use e
|
||||
}
|
Loading…
Reference in New Issue