summaryrefslogtreecommitdiff
path: root/test/SemaObjC/duplicate-ivar-check.m
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-05-03 01:08:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-05-03 01:08:28 +0000
commitad04e6737e3267a502970acac8abb54b0c899db6 (patch)
treefec4ab1e66a4f719cc4437a8f20b7f0295006784 /test/SemaObjC/duplicate-ivar-check.m
parent3e001f393d112a50e13c9a8f9a4c0d97f3f51cf4 (diff)
downloadclang-ad04e6737e3267a502970acac8abb54b0c899db6.tar.gz
Fix invalid error about duplicate declaration of padding bit field in
an interface. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/duplicate-ivar-check.m')
-rw-r--r--test/SemaObjC/duplicate-ivar-check.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/SemaObjC/duplicate-ivar-check.m b/test/SemaObjC/duplicate-ivar-check.m
index a5e2cb918e..7cab982e6e 100644
--- a/test/SemaObjC/duplicate-ivar-check.m
+++ b/test/SemaObjC/duplicate-ivar-check.m
@@ -3,6 +3,7 @@
@interface B1 {
@public
double fill_B; // expected-note {{previous declaration is here}}
+ unsigned : 0;
}
@end
@@ -10,6 +11,7 @@
@public
int one; // expected-note {{previous declaration is here}}
int one; // expected-error {{duplicate member 'one'}}
+ unsigned : 0;
}
@end