llvm-project/llvm/test/Assembler/invalid-uselistorder-functi...

7 lines
163 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: error: value has no uses
define void @foo() {
unreachable
uselistorder i32 %1, { 1, 0 }
}