1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s 2f4a2713aSLionel Sambuc struct a { 3f4a2713aSLionel Sambuc static void f(); 4f4a2713aSLionel Sambuc }; 5f4a2713aSLionel Sambuc g(a * a)6f4a2713aSLionel Sambucvoid g(a *a) { 7f4a2713aSLionel Sambuc // CHECK: call void @_ZN1a1fEv() 8f4a2713aSLionel Sambuc a->f(); 9f4a2713aSLionel Sambuc } 10