diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-26 23:49:39 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-26 23:49:39 +0000 |
commit | 44817320155b0f68c3c5c8aa793cc203edcfc7ea (patch) | |
tree | f269da111298fa66bb80dfd11085ff4024fabada /llvm/test/FrontendC/2009-07-22-StructLayout.c | |
parent | fbcce6fba31fa8ae689e99358e25f6a736aee286 (diff) | |
download | bcm5719-llvm-44817320155b0f68c3c5c8aa793cc203edcfc7ea.tar.gz bcm5719-llvm-44817320155b0f68c3c5c8aa793cc203edcfc7ea.zip |
Remove test/FrontendC, almost all of the tests have been migrated
to clang now, the rest are in process (6) or have been deleted.
llvm-svn: 136191
Diffstat (limited to 'llvm/test/FrontendC/2009-07-22-StructLayout.c')
-rw-r--r-- | llvm/test/FrontendC/2009-07-22-StructLayout.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/llvm/test/FrontendC/2009-07-22-StructLayout.c b/llvm/test/FrontendC/2009-07-22-StructLayout.c deleted file mode 100644 index 74904da33e0..00000000000 --- a/llvm/test/FrontendC/2009-07-22-StructLayout.c +++ /dev/null @@ -1,34 +0,0 @@ -// RUN: %llvmgcc %s -S -o /dev/null -// PR4590 - -typedef unsigned char __u8; -typedef unsigned int __le32; -typedef unsigned int __u32; -typedef unsigned short __le16; -typedef unsigned short __u16; - -struct usb_cdc_ether_desc { - __u8 bLength; - __u8 bDescriptorType; - __u8 bDescriptorSubType; - - __u8 iMACAddress; - __le32 bmEthernetStatistics; - __le16 wMaxSegmentSize; - __le16 wNumberMCFilters; - __u8 bNumberPowerFilters; -} __attribute__ ((packed)); - - -static struct usb_cdc_ether_desc ecm_desc __attribute__ ((__section__(".init.data"))) = { - .bLength = sizeof ecm_desc, - .bDescriptorType = ((0x01 << 5) | 0x04), - .bDescriptorSubType = 0x0f, - - - - .bmEthernetStatistics = (( __le32)(__u32)(0)), - .wMaxSegmentSize = (( __le16)(__u16)(1514)), - .wNumberMCFilters = (( __le16)(__u16)(0)), - .bNumberPowerFilters = 0, -}; |