Retro68/gcc/contrib/reghunt/examples/29106.cc

10 lines
186 B
C++
Raw Normal View History

2012-03-27 23:13:14 +00:00
#include <stdio.h>
int main()
{
int* const savepos = sizeof(*savepos) ? 0 : 0;
// code for the next line is left out!
printf("size of thingy is %d\n", sizeof(*savepos));
}