brintos

brintos / llvm-project-archived public Read only

0
0
Text · 313 B · 06e50db Raw
23 lines · plain
1// RUN: %clang_cc1 -Wno-objc-root-class -o /dev/null -triple x86_64-- -emit-llvm %s2// REQUIRES: asserts3// Verify there is no assertion.4 5@interface A6@end7 8extern A *a;9 10@interface X11@end12 13@implementation X14 15-(void)test {16  struct S {17    A *a;18    int b;19  };20  struct S s[] = {{a, 0}, {(void *)0, 0}};21}22@end23