blob: f54895143548cd11094ee8568e8dee54d5042ce5 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -o - -emit-llvm | FileCheck %s
Tim Northover8fa36ea2013-02-07 15:11:40 +00002// XFAIL: aarch64
3
Eric Christopher3883e662011-07-26 22:17:02 +00004// PR1513
5
Tim Northover8fa36ea2013-02-07 15:11:40 +00006// AArch64 ABI actually requires the reverse of what this is testing: the callee
7// does any extensions and remaining bits are unspecified.
8
9// Technically this test wasn't written to test that feature, but it's a
10// valuable check nevertheless.
11
Eric Christopher3883e662011-07-26 22:17:02 +000012struct s{
13long a;
14long b;
15};
16
17void f(struct s a, char *b, signed char C) {
18 // CHECK: i8 signext
19
20}