From 8a60836d879f00257f53cfdd26f9e8c69664080d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 13 Oct 2020 12:19:46 +0300 Subject: [PATCH] test: Remove unnecessary bits of hello-exception.cpp These bits are tested by hello-cpp.cpp. --- test/hello-exception.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/test/hello-exception.cpp b/test/hello-exception.cpp index 593b648..c82ad7a 100644 --- a/test/hello-exception.cpp +++ b/test/hello-exception.cpp @@ -16,21 +16,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include #include -class Hello { -public: - Hello() { - printf("Hello ctor\n"); - } - ~Hello() { - printf("Hello dtor\n"); - } -}; - -Hello global_h; - class RecurseClass { public: RecurseClass(int v) : val(v) { @@ -61,7 +49,6 @@ void recurse(int val) { } int main(int argc, char* argv[]) { - std::cout<<"Hello world C++"<