1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -triple i386-pc-mingw32 %s -o - | FileCheck --check-prefix=MINGW %s 2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -triple i386-pc-cygwin %s -o - | FileCheck --check-prefix=CYGWIN %s 3*0a6a1f1dSLionel Sambuc 4*0a6a1f1dSLionel Sambuc namespace test1 { 5*0a6a1f1dSLionel Sambuc struct foo { 6*0a6a1f1dSLionel Sambuc // MINGW: declare x86_thiscallcc void @_ZN5test13foo1fEv 7*0a6a1f1dSLionel Sambuc // CYGWIN: declare void @_ZN5test13foo1fEv 8*0a6a1f1dSLionel Sambuc void f(); 9*0a6a1f1dSLionel Sambuc }; g(foo * x)10*0a6a1f1dSLionel Sambuc void g(foo *x) { 11*0a6a1f1dSLionel Sambuc x->f(); 12*0a6a1f1dSLionel Sambuc } 13*0a6a1f1dSLionel Sambuc } 14