llvm-project/llvm/test/Assembler/align-param-attr-error1.ll
Nikita Popov 75a479221b [Assembler] Convert tests to opaque pointers (NFC)
Some tests are removed because the error conditions can no longer
occur with opaque pointers.
2022-12-13 14:36:21 +01:00

8 lines
250 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]]:42: error: expected '{' in function body
define void @missing_Lparen(ptr align 4) %ptr) {
ret void
}