
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
14 lines
339 B
C
14 lines
339 B
C
// REQUIRES: x86-registered-target
|
|
// RUN: %clang -target i386-unknown-unknown -emit-ast -o %t.ast %s
|
|
// RUN: %clang -target i386-unknown-unknown -emit-llvm -S -o - %t.ast | FileCheck %s
|
|
|
|
// CHECK: module asm "foo"
|
|
__asm__("foo");
|
|
|
|
// CHECK: @g0 = dso_local global i32 0, align 4
|
|
int g0;
|
|
|
|
// CHECK: define dso_local i32 @f0()
|
|
int f0() {
|
|
}
|