brintos

brintos / llvm-project-archived public Read only

0
0
Text · 651 B · ccfdc1a Raw
23 lines · c
1// RUN: %clang_cc1 -no-enable-noundef-analysis %s -o - -emit-llvm | FileCheck %s2// XFAIL: target={{(aarch64|arm64).*}}, target=x86_64-pc-windows-msvc, target=x86_64-{{(pc|w64)}}-windows-gnu, target=x86_64-pc-windows-cygnus3 4// PR15135 6// AArch64 ABI actually requires the reverse of what this is testing: the callee7// does any extensions and remaining bits are unspecified.8 9// Win64 ABI does expect extensions for type smaller than 64bits.10 11// Technically this test wasn't written to test that feature, but it's a12// valuable check nevertheless.13 14struct s{15long a;16long b;17};18 19void f(struct s a, char *b, signed char C) {20  // CHECK: i8 signext21 22}23