2011-07-27 06:17:02 +08:00
|
|
|
// RUN: %clang_cc1 %s -o - -emit-llvm | FileCheck %s
|
2014-08-28 00:22:26 +08:00
|
|
|
// XFAIL: aarch64, arm64, x86_64-pc-win32, x86_64-w64-mingw32
|
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
|
|
|
|
|
|
|
|
}
|