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

6 lines
186 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: error: value only has one use
@global = global i32 0
@alias = alias i32* @global
uselistorder i32* @global, { 1, 0 }