brintos

brintos / llvm-project-archived public Read only

0
0
Text · 204 B · b809751 Raw
15 lines · cpp
1// RUN: %clang_cc1 -emit-llvm %s -o -2 3struct PrefMapElem {4  virtual ~PrefMapElem();5  unsigned int fPrefId;6};7 8int foo() {9  PrefMapElem* fMap;10  if (fMap[0].fPrefId == 1)11    return 1;12 13  return 0;14}15