#include // standard section [9.1]. "If a class name is declared in a scope // where an object, function, or enumerator of the same name is also // declared, then when both declarations are in scope, the class can be // referred to only using an elaborated-type specifier" class C { int d[3]; }; int C; int main() { std::cout << "sizeof(C)\t" << sizeof(C) << std::endl; std::cout << "sizeof(class C)\t" << sizeof(class C) << std::endl; }