summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/exprs.c
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-14 22:00:20 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-14 22:00:20 +0000
commit2898af59dc189e600491a32cc8429adcbc0ad4f4 (patch)
treed47126f874815f5c577c86b647009e2b4875093c /clang/test/Sema/exprs.c
parent27b5c253d841005ecef94a4a79b0851b568891ec (diff)
downloadbcm5719-llvm-2898af59dc189e600491a32cc8429adcbc0ad4f4.tar.gz
bcm5719-llvm-2898af59dc189e600491a32cc8429adcbc0ad4f4.zip
Update tests
llvm-svn: 81802
Diffstat (limited to 'clang/test/Sema/exprs.c')
-rw-r--r--clang/test/Sema/exprs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/exprs.c b/clang/test/Sema/exprs.c
index faa6c285c60..69a2320397f 100644
--- a/clang/test/Sema/exprs.c
+++ b/clang/test/Sema/exprs.c
@@ -60,9 +60,9 @@ int test8(void) {
struct f { int x : 4; float y[]; };
int test9(struct f *P) {
int R;
- R = __alignof(P->x); // expected-error {{invalid application of '__alignof' to bitfield}}
+ R = __alignof(P->x); // expected-error {{invalid application of '__alignof' to bit-field}}
R = __alignof(P->y); // ok.
- R = sizeof(P->x); // expected-error {{invalid application of 'sizeof' to bitfield}}
+ R = sizeof(P->x); // expected-error {{invalid application of 'sizeof' to bit-field}}
return R;
}
OpenPOWER on IntegriCloud