diff options
Diffstat (limited to 'contrib/reghunt/examples/29106.cc')
-rw-r--r-- | contrib/reghunt/examples/29106.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/reghunt/examples/29106.cc b/contrib/reghunt/examples/29106.cc new file mode 100644 index 00000000000..ba028ba1355 --- /dev/null +++ b/contrib/reghunt/examples/29106.cc @@ -0,0 +1,9 @@ +#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)); +} |