aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-06-20 17:23:52 -0600
committerTom Tromey <tom@tromey.com>2021-06-20 17:23:52 -0600
commit485f4cf7a672b66c1a15c6bdf275f2f06c173f56 (patch)
treeea151c53744428c8ae9984bac03e25c279e0b533 /gcc/rust/backend/rust-compile-resolve-path.cc
parent8528f4b25f59cf10c093715d56f7a37c4ab6b732 (diff)
downloadgcc-485f4cf7a672b66c1a15c6bdf275f2f06c173f56.zip
gcc-485f4cf7a672b66c1a15c6bdf275f2f06c173f56.tar.gz
gcc-485f4cf7a672b66c1a15c6bdf275f2f06c173f56.tar.bz2
Fix up test suite buglets
Mark Wielaard pointed out that the i8u8.rs test that I recently introduced has a bug: it checks the DW_AT_language attribute, not DW_AT_encoding. Sorry about this. This patch fixes this problem. I've verified that this notices the failure after temporarily backing out the corresponding GCC change. This patch also fixes another problem that he found, namely that it's possible for these tests to find the wrong answer, because the hex value that is checked for might be a prefix of some longer value. This patch also adds a whitespace check to avoid this potential problem.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions