brintos

brintos / llvm-project-archived public Read only

0
0
Text · 206 B · 352a7c8 Raw
15 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o -2 3struct Y {};4struct XXX {5  struct  Y F;6};7 8void test1(void) {9   (int)&((struct XXX*)(((void *)0)))->F;10}11 12void test2(void) {13   &((struct XXX*)(((void *)0)))->F;14}15