mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
e686e7788e
Every other value parameter attribute uses parentheses, so accept this as the preferred modern syntax. Updating everything to use the new syntax is left for a future change.
8 lines
250 B
LLVM
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(i8* align 4) %ptr) {
|
|
ret void
|
|
}
|