minix/external/bsd/llvm/dist/clang/test/CodeGen/2007-06-18-SextAttrAggregate.c
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

20 lines
431 B
C

// RUN: %clang_cc1 %s -o - -emit-llvm | FileCheck %s
// XFAIL: aarch64
// PR1513
// AArch64 ABI actually requires the reverse of what this is testing: the callee
// does any extensions and remaining bits are unspecified.
// Technically this test wasn't written to test that feature, but it's a
// valuable check nevertheless.
struct s{
long a;
long b;
};
void f(struct s a, char *b, signed char C) {
// CHECK: i8 signext
}