Files
clang-p2996/llvm/test/tools/llvm-ml/hexfloat_warn.asm
Eric Astor 0499a9d688 [ms] [llvm-ml] Accept /WX to signal that warnings should be fatal.
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
2021-04-02 15:13:20 -04:00

13 lines
258 B
NASM

; RUN: llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s
.data
; CHECK: :[[# @LINE + 1]]:25: warning: MASM-style hex floats ignore explicit sign
negative_hexfloat REAL4 -3fa66666r
; CHECK-LABEL: negative_hexfloat:
; CHECK-NEXT: .long 1067869798
.code
END