mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
4082cce59d
Switch to OptParser for command-line handling Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D90058
36 lines
576 B
NASM
36 lines
576 B
NASM
; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s
|
|
|
|
.code
|
|
|
|
foo PROC
|
|
ret
|
|
foo ENDP
|
|
|
|
bar PROC
|
|
ret
|
|
bar ENDP
|
|
|
|
t1:
|
|
alias foo = bar
|
|
alias foo = <bar>
|
|
alias <foo> = bar
|
|
|
|
; CHECK: error: expected <aliasName>
|
|
; CHECK: error: expected <aliasName>
|
|
; CHECK: error: expected <actualName>
|
|
|
|
t2:
|
|
alias <foo> <bar>
|
|
alias <foo>, <bar>
|
|
|
|
; CHECK: error: unexpected token in alias directive
|
|
; CHECK: error: unexpected token in alias directive
|
|
|
|
t3:
|
|
alias <foo = bar>
|
|
alias <foo = bar
|
|
|
|
; CHECK: error: unexpected token in alias directive
|
|
; CHECK: error: expected <aliasName>
|
|
|
|
END |