mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
cdebaff820
This contains some new testcases in /usr/tests/...: - .../lib/libc - .../lib/libthr - .../lib/msun - .../sys/kern Tested on: amd64, i386 MFC after: 1 month
17 lines
173 B
C
17 lines
173 B
C
/* struct with only anonymous members */
|
|
|
|
struct foo {
|
|
union {
|
|
long loo;
|
|
double doo;
|
|
};
|
|
};
|
|
|
|
int
|
|
main(void) {
|
|
|
|
struct foo *f = 0;
|
|
printf("%p\n", &f[1]);
|
|
return 0;
|
|
}
|