diff options
Diffstat (limited to 'test/MC/ELF/section-metadata-err3.s')
-rw-r--r-- | test/MC/ELF/section-metadata-err3.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ELF/section-metadata-err3.s b/test/MC/ELF/section-metadata-err3.s new file mode 100644 index 000000000000..388ca377fd42 --- /dev/null +++ b/test/MC/ELF/section-metadata-err3.s @@ -0,0 +1,6 @@ +// RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s + +// CHECK: error: symbol is not in a section: foo + + foo = 42 + .section .shf_metadata,"ao",@progbits,foo |