1*67e74705SXin Li // RUN: %clang_cc1 -emit-llvm %s -o - 2*67e74705SXin Li 3*67e74705SXin Li struct QChar {unsigned short X; QChar(unsigned short); } ; 4*67e74705SXin Li 5*67e74705SXin Li struct Command { CommandCommand6*67e74705SXin Li Command(QChar c) : c(c) {} 7*67e74705SXin Li unsigned int type : 4; 8*67e74705SXin Li QChar c; 9*67e74705SXin Li }; 10*67e74705SXin Li 11*67e74705SXin Li Command X(QChar('c')); 12*67e74705SXin Li 13*67e74705SXin Li void Foo(QChar ); bar()14*67e74705SXin Livoid bar() { Foo(X.c); } 15