From 0a688ee276b4fca913fc7e70a2fc444df460df52 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 2 Jun 2019 16:47:07 +0000 Subject: [PATCH] Add test coverage for __pascal mangling git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362329 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/mangle-windows.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/CodeGenCXX/mangle-windows.cpp b/test/CodeGenCXX/mangle-windows.cpp index a9d7be1197..3d5a1e9a86 100644 --- a/test/CodeGenCXX/mangle-windows.cpp +++ b/test/CodeGenCXX/mangle-windows.cpp @@ -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(); -- 2.40.0