llvm/lldb/test/API/commands/frame/diagnose/dereference-this/main.cpp

struct Foo {
  int a;
  int b;
  int Sum() { return a + b; }
};

struct Foo *GetAFoo() {
  return (struct Foo*)0;
}

int main() {
  struct Foo *foo = GetAFoo();
  return foo->Sum();
}