brintos

brintos / llvm-project-archived public Read only

0
0
Text · 249 B · b64978a Raw
14 lines · cpp
1typedef int TTT;2typedef int &td_int_ref;3 4int main() {5  int i = 0;6  // references to typedefs7  TTT &l_ref = i;8  TTT &&r_ref = static_cast<TTT &&>(i);9  // typedef of a reference10  td_int_ref td_to_ref_type = i;11 12  return l_ref; // break here13}14