]> git.ipfire.org Git - thirdparty/gcc.git/blame - libmudflap/testsuite/libmudflap.c/pass15-frag.c
Daily bump.
[thirdparty/gcc.git] / libmudflap / testsuite / libmudflap.c / pass15-frag.c
CommitLineData
6de9cd9a
DN
1#include <stdio.h>
2#include <stdlib.h>
3#include <string.h>
4int main ()
5{
6struct base {
7 int basic;
8};
9
10struct derived {
11 struct base common;
12 char extra;
13};
14
15struct derived d;
16struct base *bp;
17
18bp = (struct base *)&d;
19
20bp->basic = 10;
21((struct derived *)bp)->extra = 'x';
22return 0;
23}