[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Frontend / ast-codegen.c
blob53721a463217fec30c7f3bcef35c891b4a638dbc
1 // REQUIRES: x86-registered-target
2 // RUN: %clang -target i386-unknown-unknown -emit-ast -o %t.ast %s
3 // RUN: %clang -target i386-unknown-unknown -emit-llvm -S -o - %t.ast | FileCheck %s
5 // CHECK: module asm "foo"
6 __asm__("foo");
8 // CHECK: @g0 = dso_local global i32 0, align 4
9 int g0;
11 // CHECK: define dso_local i32 @f0()
12 int f0(void) {