struct C {int i;};C cc = {0}; namespace A { void foo(C c=cc) {}}namespace B { void foo(C c={0}) {}}
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!