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 b9a5f2d commit 8340592Copy full SHA for 8340592
llvm/test/MC/COFF/bad-expr.s
@@ -0,0 +1,7 @@
1
+// RUN: not llvm-mc -filetype=obj -triple i386-pc-win32 %s 2>&1 | FileCheck %s
2
+
3
+// CHECK: symbol '__ImageBase' can not be undefined in a subtraction expression
4
5
+ .data
6
+_x:
7
+ .long _x-__ImageBase
llvm/test/MC/ELF/bad-expr.s
@@ -0,0 +1,8 @@
+// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null 2>%t
+// RUN: FileCheck --input-file=%t %s
+// CHECK: symbol '__executable_start' can not be undefined in a subtraction expression
+x:
8
+ .quad x-__executable_start
0 commit comments