// RUN: %clang_cc1 -emit-llvm %s -o - struct A { void f(); int a; }; struct B : A { double b; }; void f() { B b; b.f(); }