Add __pascal marker to output (#51)

This commit is contained in:
Armin Ronacher
2019-07-17 23:04:29 +02:00
committed by GitHub
parent 7034a4f996
commit cd81f81486
3 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -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 ")?;
}
+5
View File
@@ -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");
}