C++ new types may not be defined in a return type Error?

New Types May not be defined in a return Type?
Class declaration or definition ends with no addition; symbol

class A {


};
add semi-colon finally

Read More: