279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
12 lines
228 B
LLVM
12 lines
228 B
LLVM
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
define void @f(token %A, token %B) {
|
|
entry:
|
|
br label %bb
|
|
|
|
bb:
|
|
%sel = select i1 undef, token %A, token %B
|
|
; CHECK: select values cannot have token type
|
|
br label %bb
|
|
}
|