diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-26 19:15:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-26 19:15:11 +0000 |
commit | be89909f3b789a48071e5b04ffbefdb5e069d8d3 (patch) | |
tree | 6e0f11c0d8bd6b0803f471430caf81cfed2a8594 /test/Sema/enum.c | |
parent | b951d9dee58ff2208772fd59e693748494b507cd (diff) |
testcase for PR2416, which we already handle correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/enum.c')
-rw-r--r-- | test/Sema/enum.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/enum.c b/test/Sema/enum.c index dcc5291294..50e6d9d326 100644 --- a/test/Sema/enum.c +++ b/test/Sema/enum.c @@ -48,3 +48,6 @@ void test4() { ve2; // expected-warning {{expression result unused}} } +// PR2416 +enum someenum {}; // expected-warning {{use of empty enum extension}} + |