aboutsummaryrefslogtreecommitdiffstats
path: root/test/Bindings/llvm-c/globals.ll
blob: a38f08b93ee958d5c2c94af10d2939b7755830f2 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llvm-c-test --module-list-globals | FileCheck %s

@foo = constant [7 x i8] c"foobar\00", align 1
;CHECK: GlobalDefinition: foo [7 x i8]*

@bar = common global i32 0, align 4
;CHECK: GlobalDefinition: bar i32*