Foo ctor 7 0 Foo ctor 12 1 main bar dtor Foo dtor 12 0 Foo dtor 7 1 exit 0