1 
2 typedef union {
3 	int	*ip;
4 	char	*cp;
5 } fooarg __attribute__((transparent_union));
6 
7 void	foo(fooarg);
8 
9 void
dummy()10 dummy() {
11 	foo((int *)0);
12 }
13 
14 
15 /*
16  * 02/28/09: Check that transparent union argument specialization
17  * works. This is e.g. needed for glibc's accept() declaration when
18  * a program redeclares accept() itself (for example in a configure
19  * script to determine the argument types)
20  */
21 void
foo(char * f)22 foo(char *f) {
23 }
24 
25 
26 int
main()27 main() {
28 }
29 
30 
31