mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
8 lines
231 B
LLVM
8 lines
231 B
LLVM
|
; 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*
|