1 // RUN: %clang_cc1 -verify -emit-llvm-only
2 
3 // PR7242: Check that this doesn't crash.
4 int main(void)
5 {
6   int __negative = 1;
7   const int __max = __negative && 0 ;
8   __max / 0;
9 }
10