The same test content was duplicated for asserts and !asserts builds, but the behavior is the same either way.
12 lines
229 B
LLVM
12 lines
229 B
LLVM
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
|
|
|
|
define void @f(token %A, token %B) {
|
|
entry:
|
|
br label %bb
|
|
|
|
bb:
|
|
%phi = phi token [ %A, %bb ], [ %B, %entry]
|
|
; CHECK: PHI nodes cannot have token type!
|
|
br label %bb
|
|
}
|