Fix the clang-wpa example.
[clang.git] / test / CodeGen / cxx-condition.cpp
blob5aa0c5e294f1a7e724ba45de5668dfd38a0ba96c
1 // RUN: %clang_cc1 -emit-llvm %s -o %t
3 void f() {
4 int a;
5 if (int x=a) ++a; else a=x;
6 while (int x=a) ++a;
7 for (; int x=a; --a) ;
8 switch (int x=0) { }