[llvm] [MC,ELF] Emit warning if a string constant contains newline char (PR #98060)

Dmitriy Chestnykh via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 19:34:01 PDT 2024


================
@@ -0,0 +1,55 @@
+// RUN: llvm-mc -filetype=obj -triple x86_64 %s 2>&1 -o /dev/null \
+// RUN: | FileCheck %s --implicit-check-not="{{[0-9]+:[0-9]+: warning: unterminated string}}"
----------------
chestnykh wrote:

Done

https://github.com/llvm/llvm-project/pull/98060


More information about the llvm-commits mailing list