mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
2afb636ed1
If a macro is defined on the command line and then overridden in the source code, this is likely to be an error in the user's build system. We should warn on this. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D104008
9 lines
227 B
NASM
9 lines
227 B
NASM
; RUN: llvm-ml -filetype=s %s /Fo - /Dtest1=def 2>&1 | FileCheck %s --implicit-check-not=warning:
|
|
|
|
.code
|
|
|
|
; CHECK: :[[# @LINE + 1]]:1: warning: redefining 'test1', already defined on the command line
|
|
test1 textequ <redef>
|
|
|
|
end
|