1 // RUN: %clang_cc1 -w -triple x86_64-pc-win32 -emit-llvm -o - %s | FileCheck %s
2 
3 // To be ABI compatible with code generated by MSVC, there shouldn't be any
4 // sign/zero extensions on types smaller than 64bit.
5 
6 // CHECK-LABEL: define void @f1(i8 %a)
f1(char a)7 void f1(char a) {}
8 
9 // CHECK-LABEL: define void @f2(i8 %a)
f2(unsigned char a)10 void f2(unsigned char a) {}
11 
12 // CHECK-LABEL: define void @f3(i16 %a)
f3(short a)13 void f3(short a) {}
14 
15 // CHECK-LABEL: define void @f4(i16 %a)
f4(unsigned short a)16 void f4(unsigned short a) {}
17