What does the following code do?

Code:
class Foo
{};

int main()
{
	Foo();
}
Is a Foo object created and then immediately destroyed? I've seen this used in a few examples and I don't understand what the purpose of Foo() is here.