]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - contrib/reghunt/examples/29106.cc
Imported gcc-4.4.3
[msp430-gcc.git] / contrib / reghunt / examples / 29106.cc
diff --git a/contrib/reghunt/examples/29106.cc b/contrib/reghunt/examples/29106.cc
new file mode 100644 (file)
index 0000000..ba028ba
--- /dev/null
@@ -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));
+}