Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
clang-tests
/
gdb-1472-testsuite
/
src
/
gdb
/
gdb.apple
/
anon-struct-c.c
blob: 61b34861f0fe4c5a2e3f87d5315abf774132ebf1 [
file
] [
log
] [
blame
]
#include
<stdio.h>
struct
foo
{
int
a
;
union
{
int
b
;
double
c
;
};
struct
{
int
d
;
double
e
;
};
};
int
main
()
{
struct
foo mine
=
{
1
,
2
,
3
,
4.0
};
struct
foo
*
nother
=
&
mine
;
printf
(
"Hello World %d %d\n"
,
mine
.
a
,
mine
.
d
);
return
0
;
}