mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6551 72102866-910b-0410-8b05-ffd578937521
13 lines
236 B
C
13 lines
236 B
C
/* This program will most likely crash on systems that need shorts and ints
|
|
to be word aligned
|
|
*/
|
|
|
|
int main ()
|
|
{
|
|
char buf[12];
|
|
short sval = 4;
|
|
int ival = 3;
|
|
*(short *)(buf+1) = sval;
|
|
*(int *)(buf+1) = ival;
|
|
exit (0);
|
|
}
|