blob: 330a17a10a43dcc2eb4df9885454f58243f69277 [file] [log] [blame]
// RUN: clang-cc -emit-llvm %s -o %t
void f() {
int a;
if (int x=a) ++a; else a=x;
while (int x=a) ++a;
for (; int x=a; --a) ;
switch (int x=0) { }
}