1*f4a2713aSLionel Sambuc // RUN: %clang -S -g -fverbose-asm %s -o - | FileCheck %s 2*f4a2713aSLionel Sambuc // Radar 8461032 3*f4a2713aSLionel Sambuc // CHECK: DW_AT_location 4*f4a2713aSLionel Sambuc // CHECK-NEXT: byte 145 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc // 145 is DW_OP_fbreg 7*f4a2713aSLionel Sambuc struct s { 8*f4a2713aSLionel Sambuc int a; 9*f4a2713aSLionel Sambuc struct s *next; 10*f4a2713aSLionel Sambuc }; 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc int foo(struct s *s) { 13*f4a2713aSLionel Sambuc switch (s->a) { 14*f4a2713aSLionel Sambuc case 1: 15*f4a2713aSLionel Sambuc case 2: { 16*f4a2713aSLionel Sambuc struct s *sp = s->next; 17*f4a2713aSLionel Sambuc } 18*f4a2713aSLionel Sambuc break; 19*f4a2713aSLionel Sambuc } 20*f4a2713aSLionel Sambuc return 1; 21*f4a2713aSLionel Sambuc } 22