mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 15:08:16 +00:00
7 lines
165 B
LLVM
7 lines
165 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 %val, { 1, 0 }
|
||
|
}
|