mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 20:48:12 +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.