forked from OSchip/llvm-project
[LLD][ELF] - Add a test for "unbalanced --push-state/--pop-state" error.
We had no such test. llvm-svn: 347552
This commit is contained in:
parent
77c56fffad
commit
e9ab0d0650
|
@ -32,5 +32,8 @@
|
|||
// RUN: ld.lld -o %t.exe -L%t.dir -push-state -static -pop-state %t1.o -lfoo
|
||||
// RUN: not ld.lld -o %t.exe -L%t.dir -push-state -static %t1.o -lfoo
|
||||
|
||||
// RUN: not ld.lld -o %t.exe -pop-state %t.a %t1.o -M 2>&1 | FileCheck -check-prefix=ERR %s
|
||||
// ERR: error: unbalanced --push-state/--pop-state
|
||||
|
||||
.globl _start
|
||||
_start:
|
||||
|
|
Loading…
Reference in New Issue