1// RUN: clang-cc -emit-llvm-only %s 2 3// PR5021 4struct A { 5 virtual void f(char); 6}; 7 8void f(A *a) { 9 a->f('c'); 10} 11