// RUN: %llvmgxx -S %s -o -

struct QChar {unsigned short X; QChar(unsigned short); } ;

struct Command {
        Command(QChar c) : c(c) {}
        unsigned int type : 4;
        QChar c;
    };

Command X(QChar('c'));

// RUN: %llvmgxx -S %s -o -

struct QChar {unsigned short X; QChar(unsigned short); } ;

struct Command {
        Command(QChar c) : c(c) {}
        unsigned int type : 4;
        QChar c;
    };

Command X(QChar('c'));

void Foo(QChar );
void bar() { Foo(X.c); }

Make this testcase harder, to test the read case as well.
Make this testcase harder, to test the read case as well.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@20245 91177308-0d34-0410-b5e6-96231b3b80d8
