Removed test cases that are not currently wanted.

This commit is contained in:
Daniel Marjamäki 2007-05-08 15:22:11 +00:00
parent c01cc67da0
commit 4ce6854cac
7 changed files with 0 additions and 74 deletions

View File

@ -1 +0,0 @@
Class 'clKalle', unused private function: 'f'

View File

@ -1,21 +0,0 @@
// Unused private function..
class clKalle
{
private:
void f();
void g();
public:
clKalle();
};
clKalle::clKalle()
{
g();
}
void clKalle::f()
{
}

View File

@ -1,2 +0,0 @@
[testclass6\testclass6.h:3]: Found implementation in header
[testclass6\testclass6.cpp:2]: The included header 'testclass6\testclass6.h' is not needed

View File

@ -1,8 +0,0 @@
#include "testclass6.h"
void clBertil::g()
{
}

View File

@ -1,7 +0,0 @@
class clKalle()
{
private:
void f();
};

View File

@ -1,2 +0,0 @@
Uninitialized member variable 'clKalle::rec3'
Uninitialized member variable 'clKalle::rec1'

View File

@ -1,33 +0,0 @@
// A struct must be initialized whenever it's used.
// But a class is supposed to have a constructor that
// performs the initialization.
struct rec
{
int a;
int b;
};
class clRec
{
public:
int a;
int b;
rec2();
};
class clKalle
{
private:
rec rec1;
clRec rec2;
clRec *rec3;
public:
clKalle();
};
clKalle::clKalle()
{
}