
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
30 lines
684 B
Objective-C
30 lines
684 B
Objective-C
// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin -x objective-c %s -o - | FileCheck %s
|
|
// rdar://10840980
|
|
|
|
@interface A {
|
|
struct {
|
|
unsigned char a : 1;
|
|
unsigned char b : 1;
|
|
unsigned char c : 1;
|
|
} _flags;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation A
|
|
|
|
- (id)init {
|
|
_flags.a = 1;
|
|
_flags.b = 1;
|
|
_flags.c = 1;
|
|
|
|
return self;
|
|
}
|
|
|
|
@end
|
|
|
|
// CHECK: [[T1:%.*]] = load i64* @"OBJC_IVAR_$_A._flags", !invariant.load ![[MD_NUM:[0-9]+]]
|
|
// CHECK: [[T2:%.*]] = load i64* @"OBJC_IVAR_$_A._flags", !invariant.load ![[MD_NUM]]
|
|
// CHECK: [[T3:%.*]] = load i64* @"OBJC_IVAR_$_A._flags", !invariant.load ![[MD_NUM]]
|
|
//
|