Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2007-04-05-PackedStruct.c
blob0d524c489ea859edd8253cc4ccdd6ef178f9e63b
1 // RUN: %llvmgcc %s -S -o -
3 #pragma pack(push, 2)
5 enum {
6 tA = 0,
7 tB = 1
8 };
10 struct MyStruct {
11 unsigned long A;
12 char C;
13 void * B;
16 void bar(){
17 struct MyStruct MS = { tB, 0 };