Chris Lattner | 9f95ab7 | 2005-02-19 06:54:44 +0000 | [diff] [blame] | 1 | // RUN: %llvmgxx -S %s -o - |
2 | |||||
3 | struct QChar {unsigned short X; QChar(unsigned short); } ; | ||||
4 | |||||
5 | struct Command { | ||||
6 | Command(QChar c) : c(c) {} | ||||
7 | unsigned int type : 4; | ||||
8 | QChar c; | ||||
9 | }; | ||||
10 | |||||
11 | Command X(QChar('c')); | ||||
Chris Lattner | 630f340 | 2005-02-19 06:56:46 +0000 | [diff] [blame^] | 12 | |
13 | void Foo(QChar ); | ||||
14 | void bar() { Foo(X.c); } |