2011-07-27 06:17:02 +08:00
|
|
|
// RUN: %clang_cc1 %s -o - -emit-llvm | FileCheck %s
|
2018-08-09 10:16:18 +08:00
|
|
|
// XFAIL: aarch64, arm64, x86_64-pc-windows-msvc, x86_64-w64-windows-gnu, x86_64-pc-windows-gnu
|
2013-02-07 23:11:40 +08:00
|
|
|
|
2011-07-27 06:17:02 +08:00
|
|
|
// PR1513
|
|
|
|
|
2013-02-07 23:11:40 +08:00
|
|
|
// AArch64 ABI actually requires the reverse of what this is testing: the callee
|
|
|
|
// does any extensions and remaining bits are unspecified.
|
|
|
|
|
2014-08-27 08:36:55 +08:00
|
|
|
// Win64 ABI does expect extensions for type smaller than 64bits.
|
|
|
|
|
2013-02-07 23:11:40 +08:00
|
|
|
// Technically this test wasn't written to test that feature, but it's a
|
|
|
|
// valuable check nevertheless.
|
|
|
|
|
2011-07-27 06:17:02 +08:00
|
|
|
struct s{
|
|
|
|
long a;
|
|
|
|
long b;
|
|
|
|
};
|
|
|
|
|
|
|
|
void f(struct s a, char *b, signed char C) {
|
|
|
|
// CHECK: i8 signext
|
|
|
|
|
|
|
|
}
|