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