llvm-project/clang/test/CodeGenCXX/expr.cpp

13 lines
165 B
C++

// 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] );
}