fork(2) download
#include 

char f = 0;

struct Bad {
    operator char &() { return f; }
    Bad *operator&() { return 0; }
};

int main() {
    Bad b;
    std::cout << (void*)(&f) << "\n";
    std::cout << (void*)(&b) << "\n";
    std::cout << (void*)(&reinterpret_cast(b)) << "\n";
    std::cout << (void*)(&(char &)b) << "\n";
}
Success #stdin #stdout 0.01s 2680KB
stdin
Standard input is empty
stdout
0x804a0d4
0
0xbfed0347
0x804a0d4