Author: nico Date: Sun Jun 2 09:47:07 2019 New Revision: 362329 URL: http://llvm.org/viewvc/llvm-project?rev=362329&view=rev Log: Add test coverage for __pascal mangling
Modified: cfe/trunk/test/CodeGenCXX/mangle-windows.cpp Modified: cfe/trunk/test/CodeGenCXX/mangle-windows.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mangle-windows.cpp?rev=362329&r1=362328&r2=362329&view=diff ============================================================================== --- cfe/trunk/test/CodeGenCXX/mangle-windows.cpp (original) +++ cfe/trunk/test/CodeGenCXX/mangle-windows.cpp Sun Jun 2 09:47:07 2019 @@ -20,6 +20,10 @@ extern "C" void __fastcall f4(void) {} // WIN: define dso_local x86_fastcallcc void @"\01@f4@0" // ITANIUM: define dso_local x86_fastcallcc void @"\01@f4@0" +void __pascal f5(void) {} +// WIN: define dso_local void @"?f5@@YCXXZ" +// ITANIUM: define dso_local void @_Z2f5v + struct Foo { void __stdcall foo(); static void __stdcall bar(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits