aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/nested-redef.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/nested-redef.c')
-rw-r--r--test/Sema/nested-redef.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Sema/nested-redef.c b/test/Sema/nested-redef.c
index 53b22d6989..ea18091012 100644
--- a/test/Sema/nested-redef.c
+++ b/test/Sema/nested-redef.c
@@ -1,7 +1,6 @@
// RUN: clang-cc -fsyntax-only -verify %s
struct X { // expected-note{{previous definition is here}}
- struct X { } x; // expected-error{{nested redefinition of 'X'}} \
- expected-error {{field has incomplete type}}
+ struct X { } x; // expected-error{{nested redefinition of 'X'}}
};
struct Y { };