2009-08-25 15:38:29 +00:00
|
|
|
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
|
2004-11-06 22:41:00 +00:00
|
|
|
|
2003-09-30 17:13:34 +00:00
|
|
|
enum En {
|
|
|
|
ENUM_VAL
|
|
|
|
};
|
|
|
|
|
|
|
|
struct St {
|
|
|
|
unsigned char A;
|
|
|
|
enum En B;
|
|
|
|
unsigned char C;
|
|
|
|
enum En D;
|
|
|
|
float E;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
void func(struct St* A) {
|
|
|
|
A->D = ENUM_VAL;
|
|
|
|
}
|