2009-05-23 10:17:27 +02:00
|
|
|
/*
|
|
|
|
This is testing data for the GUI.
|
2009-05-23 13:26:04 +02:00
|
|
|
Used for testing GUI with various error styles reported by cppcheck.
|
2009-05-23 10:17:27 +02:00
|
|
|
Not meant to be compiled.
|
|
|
|
*/
|
|
|
|
|
|
|
|
void unused()
|
|
|
|
{
|
2009-05-23 13:26:04 +02:00
|
|
|
int a = 15;
|
2009-05-23 10:17:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void f(char k)
|
|
|
|
{
|
|
|
|
delete k;
|
|
|
|
}
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
char *b = new char[1];
|
|
|
|
char *a = new char[8];
|
|
|
|
if (a);
|
|
|
|
b = gets();
|
|
|
|
f(a);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|