64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
8 lines
225 B
LLVM
8 lines
225 B
LLVM
; RUN: not llc < %s -march=nvptx -mcpu=sm_20 2>&1 | FileCheck %s
|
|
|
|
; Check that llc dies gracefully when given an alias.
|
|
|
|
define i32 @a() { ret i32 0 }
|
|
; CHECK: ERROR: Module has aliases
|
|
@b = internal alias i32 (), i32 ()* @a
|