mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 17:43:57 +00:00
bb8976e36e
llvm-svn: 93076
17 lines
211 B
C++
17 lines
211 B
C++
// RUN: %clang_cc1 -emit-llvm -x c++ < %s
|
|
|
|
void test0(int x) {
|
|
if (x != 0) return;
|
|
}
|
|
|
|
|
|
// PR5211
|
|
void test1() {
|
|
char *xpto;
|
|
while ( true && xpto[0] );
|
|
}
|
|
|
|
// PR5514
|
|
int a;
|
|
void test2() { ++a+=10; }
|