xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements2.c (revision 5e53a4f90f82c4345f277dd87cc9292f26e04a29)
1 /* GCC compound statements with non-expressions */
2 struct cpu_info {
3 	int bar;
4 };
5 
6 int
7 main(void)
8 {
9 	return ({
10 	    struct cpu_info *__ci;
11 	    __asm__ volatile("movl %%fs:4,%0":"=r" (__ci));
12 	    __ci;
13 	})->bar;
14 }
15