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