#include #include "obj.h" using namespace std; obj static_global = 10; //static: destructed in line 12 void f(); int main() { f(); f(); return EXIT_SUCCESS; } void f() { obj automatic_local = 20; //automatic: destructed in line 19 static obj static_local = 30; //static: destructed in line 12 }