// This file produces an error message that might take some // time to decipher. #include using namespace std; class Foo { public: int n; }; ostream& operator<<(ostream os, const Foo &f) { return os << f.n; } int main() { Foo bar; cout << bar; }