| commit | 00400d36c9219079223ea9734ffd40abeea0cad0 | [log] [tgz] |
|---|---|---|
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Feb 24 21:44:58 2017 +0000 |
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Feb 24 21:44:58 2017 +0000 |
| tree | dae86c1f07ca12cf1d443bc58a5dc39e4f5d010c | |
| parent | 0338ce83cd94d74e1d7b0e68e54cc4ceba6dcb1b [diff] [blame] |
Disallow redefinition of section symbols. Differential Revision: https://reviews.llvm.org/D30235 llvm-svn: 296180
diff --git a/llvm/test/MC/ELF/section-sym-err.s b/llvm/test/MC/ELF/section-sym-err.s new file mode 100644 index 0000000..789fee7 --- /dev/null +++ b/llvm/test/MC/ELF/section-sym-err.s
@@ -0,0 +1,6 @@ +// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t.o 2>&1 | FileCheck %s + +.section foo +foo: + +// CHECK: error: invalid symbol redefinition