We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c193124 commit 9423961Copy full SHA for 9423961
llvm/test/MC/ELF/nobits-non-zero-value.s
@@ -1,4 +1,4 @@
1
-# RUN: not llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s
+# RUN: not llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
2
3
## -filetype=asm does not check the error.
4
# RUN: llvm-mc -triple=x86_64 %s
@@ -20,3 +20,7 @@
20
21
# CHECK: <unknown>:0: error: SHT_NOBITS section '.bss' cannot have non-zero initializers
22
.long 1
23
+
24
+.section .bss1,"aw",%nobits
25
+# CHECK: <unknown>:0: error: SHT_NOBITS section '.bss1' cannot have fixups
26
+.quad foo
0 commit comments