xref: /aosp_15_r20/external/llvm/test/MC/COFF/secidx-diagnostic.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1// RUN: not llvm-mc -filetype=obj -triple i686-pc-win32 %s 2>%t
2// RUN: FileCheck %s < %t
3
4// CHECK: symbol 'bar' can not be undefined
5// CHECK: symbol 'baz' can not be undefined
6
7.data
8foo:
9        .secidx bar
10        .secidx baz
11