brintos

brintos / llvm-project-archived public Read only

0
0
Text · 229 B · 19da172 Raw
10 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2 3; CHECK: invalid forward reference to function 'f' with wrong type: expected 'ptr' but was 'ptr addrspace(1)'4 5@a = alias void (), ptr addrspace(1) @f6 7define void @f() {8  ret void9}10