xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/unname-bf-metadata.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -emit-llvm -o %t %s
2*f4a2713aSLionel Sambuc// Test that meta-data for ivar lists with unnamed bitfield are generated.
3*f4a2713aSLionel Sambuc//
4*f4a2713aSLionel Sambuc@interface Foo {
5*f4a2713aSLionel Sambuc@private
6*f4a2713aSLionel Sambuc    int first;
7*f4a2713aSLionel Sambuc    int :1;
8*f4a2713aSLionel Sambuc    int third :1;
9*f4a2713aSLionel Sambuc    int :1;
10*f4a2713aSLionel Sambuc    int fifth :1;
11*f4a2713aSLionel Sambuc}
12*f4a2713aSLionel Sambuc@end
13*f4a2713aSLionel Sambuc@implementation Foo
14*f4a2713aSLionel Sambuc@end
15