diff options
Diffstat (limited to 'test/MC/COFF/section-invalid-flags.s')
-rw-r--r-- | test/MC/COFF/section-invalid-flags.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/COFF/section-invalid-flags.s b/test/MC/COFF/section-invalid-flags.s new file mode 100644 index 0000000..17b1550 --- /dev/null +++ b/test/MC/COFF/section-invalid-flags.s @@ -0,0 +1,8 @@ +// RUN: not llvm-mc -triple i386-pc-win32 -filetype=obj %s 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple x86_64-pc-win32 -filetype=obj %s 2>&1 | FileCheck %s + +// CHECK: error: conflicting section flags 'b' and 'd' +.section s_db,"db"; .long 1 + +// CHECK: error: conflicting section flags 'b' and 'd' +.section s_bd,"bd"; .long 1 |