Home | History | Annotate | Line # | Download | only in lint1
d_gcc_compound_statements2.c revision 1.2
      1 /*	$NetBSD: d_gcc_compound_statements2.c,v 1.2 2021/01/31 14:39:31 rillig Exp $	*/
      2 # 3 "d_gcc_compound_statements2.c"
      3 
      4 /* GCC compound statements with non-expressions */
      5 struct cpu_info {
      6 	int bar;
      7 };
      8 
      9 int
     10 main(void)
     11 {
     12 	return ({
     13 	    struct cpu_info *__ci;
     14 	    __asm__ volatile("movl %%fs:4,%0":"=r" (__ci));
     15 	    __ci;
     16 	})->bar;
     17 }
     18