diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-30 10:43:36 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-30 12:36:48 +0100 |
commit | a3f4152a312c873b0d81c0715946b15a04193700 (patch) | |
tree | ce4237853a773f27ed9cc01e987022f0afc05fdd /gcc/c | |
parent | 4cd0315aa91c70f7129833671cedb12a7b45e199 (diff) | |
download | gcc-a3f4152a312c873b0d81c0715946b15a04193700.zip gcc-a3f4152a312c873b0d81c0715946b15a04193700.tar.gz gcc-a3f4152a312c873b0d81c0715946b15a04193700.tar.bz2 |
gccrs: Add multiple regression test in name resolution
Local variables and functions or global variables have different
resolution when binded to a variable. This was not covered before, even
though it was handled by the new name resolution. This commit highlight
this behavior from the new name resolution mechanism.
gcc/testsuite/ChangeLog:
* rust/compile/name_resolution11.rs: New test.
* rust/compile/name_resolution12.rs: New test.
* rust/compile/name_resolution13.rs: New test.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions