mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 18:46:06 +00:00

Define -fatal-warnings to make warnings fatal, and accept /WX as an ML.EXE compatible alias for it. Also make sure that if Warning() returns true, we always treat it as an error. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D92504
11 lines
235 B
NASM
11 lines
235 B
NASM
; RUN: not llvm-ml -filetype=s %s /WX /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
|
|
|
|
.data
|
|
|
|
; CHECK: :[[# @LINE + 1]]:25: error: MASM-style hex floats ignore explicit sign
|
|
negative_hexfloat REAL4 -3fa66666r
|
|
|
|
.code
|
|
|
|
END
|