1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - 2*f4a2713aSLionel Sambuc // rdar://5914926 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc struct bork { 5*f4a2713aSLionel Sambuc struct bork *next_local; 6*f4a2713aSLionel Sambuc char * query; 7*f4a2713aSLionel Sambuc }; 8*f4a2713aSLionel Sambuc int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10; 9