1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CFrontend/2008-01-21-PackedBitFields.c
Devang Patel 6d3139addd New test.
llvm-svn: 46209
2008-01-21 19:28:13 +00:00

8 lines
175 B
C

// RUN: %llvmgcc %s -S -o -
typedef double Al1Double __attribute__((aligned(1)));
struct x { int a:23; Al1Double v; };
struct x X = { 5, 3.0 };
double foo() { return X.v; }