blob: d92cfb46a45447d73cde0d6da8da7b1b130f1eed [file] [log] [blame]
Shih-wei Liaof8fd82b2010-02-10 11:10:31 -08001// RUN: %clang_cc1 -emit-llvm -x c++ < %s
2
3void test0(int x) {
4 if (x != 0) return;
5}
6
7
8// PR5211
9void test1() {
10 char *xpto;
11 while ( true && xpto[0] );
12}
13
14// PR5514
15int a;
16void test2() { ++a+=10; }