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