call-invalid-1.ll 194 B

123456789
  1. ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
  2. declare void @f()
  3. define void @g() {
  4. call void @f() align 8
  5. ; CHECK: error: call instructions may not have an alignment
  6. ret void
  7. }