1*67e74705SXin Li // RUN: %clang_cc1 %s -o - -emit-llvm | FileCheck %s 2*67e74705SXin Li // XFAIL: aarch64, arm64, x86_64-pc-win32, x86_64-w64-mingw32 3*67e74705SXin Li 4*67e74705SXin Li // PR1513 5*67e74705SXin Li 6*67e74705SXin Li // AArch64 ABI actually requires the reverse of what this is testing: the callee 7*67e74705SXin Li // does any extensions and remaining bits are unspecified. 8*67e74705SXin Li 9*67e74705SXin Li // Win64 ABI does expect extensions for type smaller than 64bits. 10*67e74705SXin Li 11*67e74705SXin Li // Technically this test wasn't written to test that feature, but it's a 12*67e74705SXin Li // valuable check nevertheless. 13*67e74705SXin Li 14*67e74705SXin Li struct s{ 15*67e74705SXin Li long a; 16*67e74705SXin Li long b; 17*67e74705SXin Li }; 18*67e74705SXin Li f(struct s a,char * b,signed char C)19*67e74705SXin Livoid f(struct s a, char *b, signed char C) { 20*67e74705SXin Li // CHECK: i8 signext 21*67e74705SXin Li 22*67e74705SXin Li } 23