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