You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
186 B

void test(void) {
auto const ic = 1;
auto iv = 1;
auto const& ric = ic;
auto& riv = iv;
const auto& ric2 = ic;
if (auto const& r(ric); r > 0) {
}
if (auto& r(riv); r > 0) {
}
}