Skip to content

Commit 574bc89

Browse files
committed
Add tests
1 parent 2fb0c5e commit 574bc89

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before_install:
1212
- echo 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main' | sudo tee -a /etc/apt/sources.list
1313
- echo 'deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main' | sudo tee -a /etc/apt/sources.list
1414
- sudo apt-get update
15-
- sudo apt-get --force-yes install curl make g++ python2.7 git zlib1g-dev libedit-dev llvm-3.7-tools
15+
- sudo apt-get --force-yes install curl make g++ python2.7 git zlib1g-dev libedit-dev llvm-3.7-tools gdb lldb-3.7
1616

1717
script:
1818
- ./configure --llvm-root=/usr/lib/llvm-3.7

src/test/debuginfo/vec-slices.rs

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
// lldb-command:print padded_struct
7777
// lldb-check:[...]$5 = &[AStruct { x: 10, y: 11, z: 12 }, AStruct { x: 13, y: 14, z: 15 }]
7878

79+
// lldb-command:print 'vec_slices::MUT_VECT_SLICE'
80+
// lldb-check:[...]$6 = &mut [64, 65]
81+
7982
#![allow(dead_code, unused_variables)]
8083
#![feature(omit_gdb_pretty_printer_section)]
8184
#![omit_gdb_pretty_printer_section]

0 commit comments

Comments
 (0)