mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
12 lines
432 B
LLVM
12 lines
432 B
LLVM
|
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
||
|
|
||
|
@llvm.global_ctors = appending global [1 x { i32, void()*, i8 } ] [
|
||
|
{ i32, void()*, i8 } { i32 65535, void ()* null, i8 0 }
|
||
|
]
|
||
|
; CHECK: wrong type for intrinsic global variable
|
||
|
|
||
|
@llvm.global_dtors = appending global [1 x { i32, void()*, i8*, i8 } ] [
|
||
|
{ i32, void()*, i8*, i8 } { i32 65535, void ()* null, i8* null, i8 0}
|
||
|
]
|
||
|
; CHECK: wrong type for intrinsic global variable
|