| // RUN: %clang_cc1 -emit-llvm %s -triple x86_64-apple-darwin9 -o %t |
| // RUN: grep "define void @_ZN1C1fEv" %t | count 1 |
| // RUN: grep "call void @_ZN1C1fEv" %t | count 1 |
| // RUN: grep "call void (.struct.C\*, i32, ...)\* @_ZN1C1gEiz" %t | count 1 |
| // RUN: grep "define linkonce_odr void @_ZN1SC1Ev" %t |
| // RUN: grep "define linkonce_odr void @_ZN1SC1Ev" %t |
| // RUN: grep "define linkonce_odr void @_ZN1S9f_inline1Ev" %t |
| // RUN: grep "define linkonce_odr void @_ZN1S9f_inline2Ev" %t |
| inline void f_inline2() { } |
| // RUN: grep "define linkonce_odr void @_ZN1S1gEv" %t |
| // RUN: grep "define void @_ZN1S1fEv" %t |
| // RUN: grep "call void @_ZN1TpsERKS_" %t |