cppcheck/internaltesting/testnew.cpp

11 lines
93 B
C++
Raw Normal View History

2007-05-15 18:50:22 +02:00
void f()
{
a = new char[10];
fred = new Fred;
fred = new Fred();
}