gn build: Merge r374476
[llvm-complete.git] / test / MC / COFF / section-invalid-flags.s
blob9cdceaf300140fa0b7cac7888c3c2981ebc6ef2a
1 // RUN: not llvm-mc -triple i386-pc-win32 -filetype=obj %s 2>&1 | FileCheck %s
2 // RUN: not llvm-mc -triple x86_64-pc-win32 -filetype=obj %s 2>&1 | FileCheck %s
4 // CHECK: error: conflicting section flags 'b' and 'd'
5 .section s_db,"db"; .long 1
7 // CHECK: error: conflicting section flags 'b' and 'd'
8 .section s_bd,"bd"; .long 1
10 // CHECK: error: expected comdat type such as 'discard' or 'largest' after protection bits
11 .section .stack, "w", @nobits