[cfe-commits] r54096 - /cfe/trunk/test/Sema/enum.c
Chris Lattner
sabre at nondot.org
Sat Jul 26 12:15:19 PDT 2008
Author: lattner
Date: Sat Jul 26 14:15:11 2008
New Revision: 54096
URL: http://llvm.org/viewvc/llvm-project?rev=54096&view=rev
Log:
testcase for PR2416, which we already handle correctly.
Modified:
cfe/trunk/test/Sema/enum.c
Modified: cfe/trunk/test/Sema/enum.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/enum.c?rev=54096&r1=54095&r2=54096&view=diff
==============================================================================
--- cfe/trunk/test/Sema/enum.c (original)
+++ cfe/trunk/test/Sema/enum.c Sat Jul 26 14:15:11 2008
@@ -48,3 +48,6 @@
ve2; // expected-warning {{expression result unused}}
}
+// PR2416
+enum someenum {}; // expected-warning {{use of empty enum extension}}
+
More information about the cfe-commits
mailing list