Landing: 94d35ee54b5c

Project / Subsystem

gcc / gccrs

Date

2026-06-26

Author

Lishin

Commit

94d35ee54b5c08f33b7a20b63a828268f4051a94

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
commit_hash
94d35ee54b5c08f33b7a20b63a828268f4051a94
source_type
github
headline
gccrs: Add tests for local binding LIFO and nested block scopes
tldr
New tests verify correct LIFO drop order for local bindings and nested scopes in gccrs.
author
Lishin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gccrs
  • testing
  • memory-management
discussion_id_link
bugzilla_pr
date
2026-06-26T00:00:00.000Z

This commit adds two new tests to gccrs to verify the behavior of local binding drop order. One test checks that multiple local bindings in the same scope are dropped in Last-In, First-Out (LIFO) order, while the other ensures that nested block scopes drop inner bindings before outer ones.