llvm-project/llvm/test/Assembler/align-param-attr-error0.ll

8 lines
232 B
LLVM

; 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(i8* align(4 %ptr) {
ret void
}