X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=contrib%2Freghunt%2Fexamples%2F29106.cc;fp=contrib%2Freghunt%2Fexamples%2F29106.cc;h=ba028ba13557796301d609168e2922a6fe80d9f0;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/contrib/reghunt/examples/29106.cc b/contrib/reghunt/examples/29106.cc new file mode 100644 index 00000000..ba028ba1 --- /dev/null +++ b/contrib/reghunt/examples/29106.cc @@ -0,0 +1,9 @@ +#include + +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)); +}