// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s // PR5021 struct A { virtual void f(char); }; void f(A *a) { a->f('c'); }