Landing: af725aab9bee
Project / Subsystem
gcc / c++
Date
2026-08-27
Author
Jason Merrill
Commit
af725aab9bee08b0968e30225b1babb4b40095b1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- c++
- patch_id
- —
- commit_hash
- af725aab9bee08b0968e30225b1babb4b40095b1
- source_type
- github
- headline
- C++ test case for contracts-class1.C corrected.
- tldr
- A C++ test case (`contracts-class1.C`) has been fixed to address a warning and test deduction properly.
- author
- Jason Merrill
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • contracts
- • testing
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-27T00:00:00.000Z
The test case contracts-class1.C in GCC’s C++ test suite has been corrected. The change ensures that the test properly triggers and handles a -Wreturn-type warning, and it also verifies the deduction of types within the context of C++ contracts. This update improves the test coverage for contract-related features in C++.