1 // RUN: %clang_cc1 -analyze -analyzer-checker=debug.DumpCFG -analyzer-config cfg-expand-default-aggr-inits=true %s > %t 2>&1
2 // RUN: FileCheck --input-file=%t %s
4 static char a
[] = "foobar";
7 const char *member
= nullptr;
18 // CHECK-NEXT: 2: [B1.1] (ImplicitCastExpr, ArrayToPointerDecay, char *)
19 // CHECK-NEXT: 3: [B1.2] (ImplicitCastExpr, NoOp, const char *)
22 // CHECK-NEXT: 6: {[B1.1]}
23 // CHECK-NEXT: 7: StringRef s{a};
25 // CHECK-NEXT: 9: (void)[B1.8] (CStyleCastExpr, ToVoid, void)
26 // CHECK-NEXT: Preds (1): B2
27 // CHECK-NEXT: Succs (1): B0