Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
a40b7f2c4a968a0f35f088cd009d671389b09ac2
/
.
/
test
/
Frontend
/
ast-codegen.c
blob: b5b2157e21aea20014ca85ed52f242fdecc3e431 [
file
] [
log
] [
blame
]
// RUN: %clang -emit-ast -o %t.ast %s
// RUN: %clang -emit-llvm -S -o - %t.ast | FileCheck %s
// CHECK: module asm "foo"
__asm__
(
"foo"
);
// CHECK: @g0 = common global i32 0, align 4
int
g0
;
// CHECK: define i32 @f0()
int
f0
()
{
}