gcc/contrib/reghunt/examples/29106.cc
Janis Johnson 883935fd20 examples: New directory.
* examples: New directory.
	* examples/gcc-svn-env: New.
	* examples/reg-watch: New.
	* examples/reg-watch.awk: New.
	* examples/common.config: New.
	* examples/testall: New.
	* examples/28970.config: New.
	* examples/28970.list: New.
	* examples/28970.c: New.
	* examples/28970.log: New.
	* examples/29106.config: New.
	* examples/29106.list: New.
	* examples/29106.test: New.
	* examples/29106.cc: New.
	* examples/29106.log: New.
	* examples/29478.config: New.
	* examples/29478.list: New.
	* examples/29478.c: New.
	* examples/29478.log: New.
	* examples/29906a.config: New.
	* examples/29906a.list: New.
	* examples/29906a.cc: New.
	* examples/29906a.log: New.
	* examples/29906b.config: New.
	* examples/29906b.list: New.
	* examples/29906b.cc: New.
	* examples/29906b.log: New.
	* examples/30643.config: New.
	* examples/30643.list: New.
	* examples/30643.c: New.
	* examples/30643.test: New.
	* examples/30643.log: New.

From-SVN: r144242
2009-02-17 18:45:27 +00:00

10 lines
186 B
C++

#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));
}