aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/align-param-attr-error2.ll
blob: dd00e7fd9e6cef98748e748e4711458e6c65e686 (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; Test parse errors when using form of align attribute with parentheses

; CHECK:  <stdin>:[[@LINE+1]]:39: error: expected integer
define void @missing_value(ptr align () %ptr) {
  ret void
}