@anonymous/CarefreeAncientBudgie
C++

No description

fork
loading
repl talk
Files
  • main.cpp
1
2
3
4
5
6
7
8
9
10
#include <iostream>

struct Foo {};

bool operator == (const Foo&, int) { return true; }

int main() {
  Foo a;
  std::cout << std::boolalpha << (a == 1 && a == 2 && a == 3) << std::endl;
}
gcc version 4.6.3