projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
indentation fixed
[libfirm]
/
ir
/
be
/
test
/
dblstruct.c
1
#include <stdio.h>
2
3
typedef struct TypeToken
4
{
5
int Handle;
6
} tokentype;
7
8
typedef struct CppObjTypeDesc
9
{
10
int Handle;
11
} cppobjtype;
12
13
14
int test(cppobjtype *CppObject, tokentype *Anchor)
15
{
16
CppObject->Handle = Anchor->Handle;
17
return 1;
18
}
19
20
int main()
21
{
22
cppobjtype CppObject;
23
tokentype Anchor;
24
25
printf("%d\n", test(&CppObject, &Anchor));
26
27
return 0;
28
}