blob: 19da172d794f7e0453469bb1e670dfa3a5c55453 (
plain)
1
2
3
4
5
6
7
8
9
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: invalid forward reference to function 'f' with wrong type: expected 'ptr' but was 'ptr addrspace(1)'
@a = alias void (), ptr addrspace(1) @f
define void @f() {
ret void
}
|