• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -emit-llvm %s -o -
2 
3 struct QChar {unsigned short X; QChar(unsigned short); } ;
4 
5 struct Command {
CommandCommand6         Command(QChar c) : c(c) {}
7         unsigned int type : 4;
8         QChar c;
9     };
10 
11 Command X(QChar('c'));
12 
13 void Foo(QChar );
bar()14 void bar() { Foo(X.c); }
15