#include <iostream>inline double fun(){ return 3.0;}extern double m;double d2=m;int main(){ std::cout<<d2;}double m=fun();
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!