Example

class Test1{
};

class Test1{
};
Solution
In the given example both classes are in the same file and they have the same name. This should be avoided

class Test1{
};

class Test2{
};