Fix syntax error in Rust test
authorTom Tromey <tom@tromey.com>
Fri, 16 Apr 2021 22:34:07 +0000 (16:34 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 16 Apr 2021 22:34:07 +0000 (16:34 -0600)
commit458620aabb33d9b0efa61d0fb402c8d19e65eabd
tree6288adecad68c720deee525861c6eea24eed9fec
parent321d0cd7e78d6133cb0c607526c1f1fb380424ae
Fix syntax error in Rust test

The Rust test case simple.exp does:

    print slice as &[i32][0]

However, this is a syntax error in Rust.  Parens are needed around the
"as".

gdb/testsuite/ChangeLog
2021-04-16  Tom Tromey  <tom@tromey.com>

* gdb.rust/simple.exp: Add parens to 'as' test.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/simple.exp
This page took 0.024392 seconds and 4 git commands to generate.