diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/COFF/secidx-diagnostic.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/COFF/secidx-diagnostic.s b/test/MC/COFF/secidx-diagnostic.s new file mode 100644 index 0000000000..3e496c3fd4 --- /dev/null +++ b/test/MC/COFF/secidx-diagnostic.s @@ -0,0 +1,8 @@ +// RUN: not llvm-mc -filetype=obj -triple i686-pc-win32 %s 2>%t +// RUN: FileCheck %s < %t + +// CHECK: symbol 'bar' can not be undefined + +.data +foo: + .secidx bar |