template<class T> using Alias = T; void f(int []){} int main(){ f(Alias<int []>{1,2,3});}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:6:39: error: taking address of temporary array
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!