diff options
author | rus <rus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-22 20:36:22 +0000 |
---|---|---|
committer | rus <rus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-22 20:36:22 +0000 |
commit | 19f10e6299103d689242595814fbfbe645e43d2b (patch) | |
tree | 991c568e6cc349d332410fed35b5307113d81e83 /gcc/testsuite/gcc.dg/enum-compat-1.c | |
parent | bf32534d44b15c2e38cf759146dbc72053532f0b (diff) | |
download | gcc-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.c | 4 |
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; } |