Removed test cases that are not currently wanted.
This commit is contained in:
parent
c01cc67da0
commit
4ce6854cac
|
@ -1 +0,0 @@
|
|||
Class 'clKalle', unused private function: 'f'
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
// Unused private function..
|
||||
|
||||
class clKalle
|
||||
{
|
||||
private:
|
||||
void f();
|
||||
void g();
|
||||
public:
|
||||
clKalle();
|
||||
};
|
||||
|
||||
clKalle::clKalle()
|
||||
{
|
||||
g();
|
||||
}
|
||||
|
||||
void clKalle::f()
|
||||
{
|
||||
|
||||
}
|
|
@ -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
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
#include "testclass6.h"
|
||||
|
||||
void clBertil::g()
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
|
||||
class clKalle()
|
||||
{
|
||||
private:
|
||||
void f();
|
||||
};
|
|
@ -1,2 +0,0 @@
|
|||
Uninitialized member variable 'clKalle::rec3'
|
||||
Uninitialized member variable 'clKalle::rec1'
|
|
@ -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()
|
||||
{
|
||||
|
||||
}
|
Loading…
Reference in New Issue