1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o /dev/null 2*f4a2713aSLionel Sambuc // g++.old-deja/g++.jason/bool2.C from gcc testsuite. 3*f4a2713aSLionel Sambuc // Crashed before 67975 went in. 4*f4a2713aSLionel Sambuc struct F { 5*f4a2713aSLionel Sambuc bool b1 : 1; 6*f4a2713aSLionel Sambuc bool b2 : 7; 7*f4a2713aSLionel Sambuc }; 8*f4a2713aSLionel Sambuc main()9*f4a2713aSLionel Sambucint main() 10*f4a2713aSLionel Sambuc { 11*f4a2713aSLionel Sambuc F f = { true, true }; 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc if (int (f.b1) != 1) 14*f4a2713aSLionel Sambuc return 1; 15*f4a2713aSLionel Sambuc } 16