about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2021-02-13 11:18:36 +0800
committerHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2021-02-13 11:18:36 +0800
commitfa9af6a9be72e80c7c86adf656bee5964cb2f6a2 (patch)
treec6f88751aae5b2c6f6968752ff16919e2f65d46e /compiler/rustc_codegen_llvm/src
parenta118ee2c13cc96ceb27bd5030c1cca1052377604 (diff)
downloadrust-fa9af6a9be72e80c7c86adf656bee5964cb2f6a2.tar.gz
rust-fa9af6a9be72e80c7c86adf656bee5964cb2f6a2.zip
Added tests to drain an empty vec
Discovered this kind of issue in an unrelated library.
The author copied the tests from here and AFAIK, there are no tests for this particular case.

Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions