Adding function fred --- Entering scope --- Entering scope Adding fwd decl for struct s --- Entering scope Adding object i --- Leaving scope containing Adding struct s --- Entering scope --- Leaving scope containing Adding object p Adding object i --- Leaving scope containing s --- Leaving scope containing