#include <iostream>using namespace std; struct foo { string bar; }A{"A"},B{"B"}; int main() { cout << A.bar << " " << B.bar << endl;}
Standard input is empty
A B
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!