From 78022397258f91a02c594faa09676dee50b3bb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 16 May 2007 10:31:44 +0000 Subject: [PATCH] Test: Internal testing, added "testuse" --- internaltesting.bat | 2 ++ internaltesting/testuse.cpp | 8 ++++++++ internaltesting/testuse.out | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100644 internaltesting/testuse.cpp create mode 100644 internaltesting/testuse.out diff --git a/internaltesting.bat b/internaltesting.bat index dfcd87644..5efee2bcb 100644 --- a/internaltesting.bat +++ b/internaltesting.bat @@ -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 diff --git a/internaltesting/testuse.cpp b/internaltesting/testuse.cpp new file mode 100644 index 000000000..5802f250b --- /dev/null +++ b/internaltesting/testuse.cpp @@ -0,0 +1,8 @@ + +void f() +{ + a = b; + c = func(d,e); +} + + diff --git a/internaltesting/testuse.out b/internaltesting/testuse.out new file mode 100644 index 000000000..34196c544 --- /dev/null +++ b/internaltesting/testuse.out @@ -0,0 +1,7 @@ +{ +assign a +use b +assign c +use d +use e +}