[ create a new paste ] login | about

Link: http://codepad.org/wbtFji75    [ raw code | output | fork ]

litb - C++, pasted on Jul 9:
1
2
3
4
int main() {
  void(*fp)();
  *(void**)&fp;
}


Output:
1
2
3
cc1plus: warnings being treated as errors
In function 'int main()':
Line 3: warning: dereferencing type-punned pointer will break strict-aliasing rules


Create a new paste based on this one


Comments: