brintos

brintos / llvm-project-archived public Read only

0
0
Text · 274 B · 937a300 Raw
15 lines · cpp
1// RUN: %clang_cc1 -emit-llvm %s -o -2 3struct QChar {unsigned short X; QChar(unsigned short); } ;4 5struct Command {6        Command(QChar c) : c(c) {}7        unsigned int type : 4;8        QChar c;9    };10 11Command X(QChar('c'));12 13void Foo(QChar );14void bar() { Foo(X.c); }15