aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/align-param-attr-error1.ll
blob: dc6c19c04074f276d910c0e9dc58b06b1b419777 (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]]:42: error: expected '{' in function body
define void @missing_Lparen(ptr align 4) %ptr) {
  ret void
}