mirror of
https://github.com/encounter/msvc-demangler-rust.git
synced 2026-07-10 12:18:38 -07:00
Add __pascal marker to output (#51)
This commit is contained in:
+3
-1
@@ -1511,7 +1511,9 @@ impl<'a> Serializer<'a> {
|
||||
CallingConv::Cdecl => {
|
||||
write!(self.w, "__cdecl ")?;
|
||||
}
|
||||
CallingConv::Pascal => {}
|
||||
CallingConv::Pascal => {
|
||||
write!(self.w, "__pascal ")?;
|
||||
}
|
||||
CallingConv::Thiscall => {
|
||||
write!(self.w, "__thiscall ")?;
|
||||
}
|
||||
|
||||
@@ -107,3 +107,8 @@ fn test_llvm_ms_basic() {
|
||||
fn test_llvm_ms_operators() {
|
||||
llvm_test!("llvm-cases/ms-operators.test");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_llvm_ms_windows() {
|
||||
llvm_test!("llvm-cases/ms-windows.test");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user