summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/expr.cpp
blob: 4dc97c47aa265a6269cd95b54bc3232ce2926192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: clang-cc -emit-llvm -x c++ < %s

void test0(int x) {
          if (x != 0) return;
}


// PR5211
void test1() {
  char *xpto;
  while ( true && xpto[0] );
}
OpenPOWER on IntegriCloud