test: Remove unnecessary bits of hello-exception.cpp

These bits are tested by hello-cpp.cpp.
This commit is contained in:
Martin Storsjö committed 2020-10-13 12:19:46 +03:00
1 parent 06cf71558e
commit 8a60836d87
1 file changed
+1 -14
+1 -14
View File
@@ -16,21 +16,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <iostream>
#include <exception>
#include <stdio.h>
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++"<<std::endl;
recurse(10);
return 0;
}