function2(int * o)1 void function2(int *o) {
2   if (!o) {
3     *o = 7; // This will emit a null pointer diagnostic.
4   }
5 }
6