diff options
Diffstat (limited to 'test/Sema/anonymous-struct-union.c')
-rw-r--r-- | test/Sema/anonymous-struct-union.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Sema/anonymous-struct-union.c b/test/Sema/anonymous-struct-union.c index 72790c9abb..b288f6278a 100644 --- a/test/Sema/anonymous-struct-union.c +++ b/test/Sema/anonymous-struct-union.c @@ -47,8 +47,7 @@ struct Redecl { }; int z; // expected-error{{duplicate member 'z'}} - void zz(); // expected-error{{duplicate member 'zz'}} \ - // expected-error{{field 'zz' declared as a function}} + void zz(); // expected-error{{duplicate member 'zz'}} }; union { // expected-error{{anonymous unions must be struct or union members}} |