mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-10 17:07:06 +00:00
1fbb13e4fa
While I'm there, change code that does: SomeTy == Type::getFooType(Context) into: SomeTy->getTypeID() == FooTyID to decrease the amount of useless type creation which may involve locking, etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81846 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
209 B
LLVM
7 lines
209 B
LLVM
; RUN: not llvm-as %s -disable-output 2>/dev/null
|
|
|
|
; Arrays and structures with function types (not function pointers) are illegal.
|
|
|
|
@foo = external global [4 x i32 (i32)]
|
|
@bar = external global { i32 (i32) }
|