blob: b58079de770d5c87c6b0b9b8d0d08861de580fae [file] [log] [blame]
; 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
}