blob: 4a12b14a5edb45c5368f59ad15aebc74a801991c [file] [log] [blame]
David Majnemerdad44db2015-02-23 00:01:32 +00001; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
2
3declare void @f()
4
5define void @g() {
6 call void @f() align 8
7; CHECK: error: call instructions may not have an alignment
8 ret void
9}