mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 17:08:10 +00:00
For `template` generics specifically, when trying check the address of `&` a dependent expression would always fail with `AddrOfNonRef` diagnostic. Adds a test both of successful deferred checking and a fail test for an invalid dependent type.