brintos

brintos / llvm-project-archived public Read only

0
0
Text · 507 B · 58b4a96 Raw
12 lines · c
1// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s2// RUN: %clang_cc1 -triple i686-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-OK3 4void (__attribute__((regparm(3), stdcall)) *pf) ();5void (__attribute__((regparm(2), stdcall)) foo)(int a) {6}7// CHECK: @pf ={{.*}} global ptr null8// CHECK: define{{.*}} void @foo(i32 noundef %a)9 10// CHECK-OK: @pf ={{.*}} global ptr null11// CHECK-OK: define{{.*}} x86_stdcallcc void @foo(i32 inreg noundef %a)12