fork download
  1.  
  2. void takeArraryRef(const char (&)[13])
  3. {
  4. }
  5.  
  6. const char (&returnArrayRef())[13]
  7. {
  8. return "abcdefghijkl";
  9. }
  10.  
  11.  
  12. int main()
  13. {
  14. const char (&x)[13] = returnArrayRef();
  15. takeArraryRef(x);
  16. return 0;
  17. }
Success #stdin #stdout 0s 2824KB
stdin
Standard input is empty
stdout

Standard output is empty