aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/align-param-attr-error0.ll
blob: 9d2d59f9971244881818e4d0977a513713fe9f9d (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]]:38: error: expected ')'
define void @missing_rparen(ptr align(4 %ptr) {
  ret void
}