freebsd-nq/test/Frontend/ast-codegen.c

13 lines
231 B
C
Raw Normal View History

2009-11-18 14:59:57 +00:00
// RUN: clang -emit-ast -o %t.ast %s
2009-10-14 18:03:49 +00:00
// 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() {
}