summaryrefslogtreecommitdiff
path: root/test/Assembler/call-invalid-1.ll
blob: 4a12b14a5edb45c5368f59ad15aebc74a801991c (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s

declare void @f()

define void @g() {
  call void @f() align 8
; CHECK: error: call instructions may not have an alignment
  ret void
}