llvm-for-llvmta/test/Assembler/align-param-attr-error1.ll

8 lines
250 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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(i8* align 4) %ptr) {
ret void
}