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