mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
13 lines
266 B
LLVM
13 lines
266 B
LLVM
|
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
||
|
|
||
|
|
||
|
declare void @f()
|
||
|
@fa = alias void ()* @f
|
||
|
; CHECK: Alias must point to a definition
|
||
|
; CHECK-NEXT: @fa
|
||
|
|
||
|
@g = external global i32
|
||
|
@ga = alias i32* @g
|
||
|
; CHECK: Alias must point to a definition
|
||
|
; CHECK-NEXT: @ga
|