14 lines · c
1// REQUIRES: x86-registered-target2// RUN: %clang -target i386-unknown-unknown -emit-ast -o %t.ast %s3// RUN: %clang -target i386-unknown-unknown -emit-llvm -S -o - %t.ast | FileCheck %s4 5// CHECK: module asm "foo"6__asm__("foo");7 8// CHECK: @g0 = dso_local global i32 0, align 49int g0;10 11// CHECK: define dso_local void @f0()12void f0(void) {13}14