1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -w -emit-llvm -o /dev/null %s 2*f4a2713aSLionel Sambuc // PR2264. 3*f4a2713aSLionel Sambuc unsigned foo = 8L; 4*f4a2713aSLionel Sambuc unsigned bar = 0L; 5*f4a2713aSLionel Sambuc volatile unsigned char baz = 6L; test()6*f4a2713aSLionel Sambucint test() { 7*f4a2713aSLionel Sambuc char qux = 1L; 8*f4a2713aSLionel Sambuc for (; baz >= -29; baz--) 9*f4a2713aSLionel Sambuc bork(bar && foo, qux); 10*f4a2713aSLionel Sambuc } 11