summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/enum-compat-1.c
diff options
context:
space:
mode:
authorrus <rus@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-22 20:36:22 +0000
committerrus <rus@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-22 20:36:22 +0000
commit19f10e6299103d689242595814fbfbe645e43d2b (patch)
tree991c568e6cc349d332410fed35b5307113d81e83 /gcc/testsuite/gcc.dg/enum-compat-1.c
parentbf32534d44b15c2e38cf759146dbc72053532f0b (diff)
downloadgcc-19f10e6299103d689242595814fbfbe645e43d2b.tar.gz
merge from trunk latest revision 151935
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/profile-stdlib@152045 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/enum-compat-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/enum-compat-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/enum-compat-1.c b/gcc/testsuite/gcc.dg/enum-compat-1.c
index 18d1f7fe715..5fb150cee79 100644
--- a/gcc/testsuite/gcc.dg/enum-compat-1.c
+++ b/gcc/testsuite/gcc.dg/enum-compat-1.c
@@ -12,8 +12,8 @@ enum e2 {c, d};
void f(enum e1); /* { dg-error "prototype" "error at decl" } */
void f(x)
- enum e2 x;
-{ /* { dg-error "doesn't match prototype" "error at defn" } */
+ enum e2 x; /* { dg-error "doesn't match prototype" } */
+{
return;
}