xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements2.c (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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