Home | History | Annotate | Download | only in Frontend
      1 // RUN: %clang -target i386-unknown-unknown -emit-ast -o %t.ast %s
      2 // RUN: %clang -target i386-unknown-unknown -emit-llvm -S -o - %t.ast | FileCheck %s
      3 
      4 // CHECK: module asm "foo"
      5 __asm__("foo");
      6 
      7 // CHECK: @g0 = common global i32 0, align 4
      8 int g0;
      9 
     10 // CHECK: define i32 @f0()
     11 int f0() {
     12 }
     13