summaryrefslogtreecommitdiff
path: root/test/Assembler/token.ll
blob: c4d68b4b3ffb0d31f912e8e27e5baee53df85311 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s
; Basic smoke test for token type.

; CHECK: declare void @llvm.token.foobar(token)
declare void @llvm.token.foobar(token)

define void @f() {
  call void @llvm.token.foobar(token none)
  ret void
}