1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/tools/llvm-ml/hexfloat_warn.asm
Eric Astor e5b828d67b [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