brintos

brintos / llvm-project-archived public Read only

0
0
Text · 258 B · cb31a04 Raw
9 lines · cpp
1// RUN: %clang_cc1 -triple=x86_64-unknown-linux -emit-llvm %s -o - | FileCheck %s2 3struct bork {4  struct bork *next_local;5  char * query;6};7int offset =  (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10;8// CHECK: @offset = global i32 8, align 49