Skip to content
Snippets Groups Projects
Commit f063cb49 authored by Devang Patel's avatar Devang Patel
Browse files

Testcase for r114585.

llvm-svn: 114586
parent 804fcd47
No related branches found
No related tags found
No related merge requests found
// RUN: %clang -S -g -fverbose-asm %s -o - | FileCheck %s
// Radar 8461032
// CHECK: DW_AT_location
// CHECK-NEXT: byte 145
// 145 is DW_OP_fbreg
struct s {
int a;
struct s *next;
};
int foo(struct s *s) {
switch (s->a) {
case 1:
case 2: {
struct s *sp = s->next;
}
break;
}
return 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment