After a first attempt to fix the test-suite failures, my first recommit caused the same failures again. I had updated CMakeList.txt files of tests that needed -fcommon, but it turns out that there are also Makefiles which are used by some bots, so I've updated these Makefiles now too. See the original commit message for more details on this change: 0a9fc9233e172601e26381810d093e02ef410f65
12 lines
483 B
C
12 lines
483 B
C
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
|
|
// RUN: %clang_cc1 -triple i686-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-OK
|
|
|
|
void (__attribute__((regparm(3), stdcall)) *pf) ();
|
|
void (__attribute__((regparm(2), stdcall)) foo)(int a) {
|
|
}
|
|
// CHECK: @pf = global void (...)* null
|
|
// CHECK: define void @foo(i32 %a)
|
|
|
|
// CHECK-OK: @pf = global void (...)* null
|
|
// CHECK-OK: define x86_stdcallcc void @foo(i32 inreg %a)
|