diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-05-28 22:23:22 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-05-28 22:23:22 +0000 |
commit | 0511552e20c79ec48638038b9a10a70a34654e5c (patch) | |
tree | aa150b29d9814906175a0c26e659bd40d6ac85d1 /test/CodeGen/typedef-func.c | |
parent | 16834e88b9102b7c6562a6bb8a8931a58ebda900 (diff) | |
download | clang-0511552e20c79ec48638038b9a10a70a34654e5c.tar.gz |
Empty enum in c is now error to match gcc's behavior.
(radar 8040068).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/typedef-func.c')
-rw-r--r-- | test/CodeGen/typedef-func.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/typedef-func.c b/test/CodeGen/typedef-func.c index bc08b359d7..1467e8b1f7 100644 --- a/test/CodeGen/typedef-func.c +++ b/test/CodeGen/typedef-func.c @@ -2,7 +2,7 @@ // PR2414 struct mad_frame{}; -enum mad_flow {}; +enum mad_flow {ont}; typedef enum mad_flow filter_func_t(void *, struct mad_frame *); |