[cfe-commits] r123880 - /cfe/trunk/test/Parser/cxx0x-override-control-keywords.cpp
Anders Carlsson
andersca at mac.com
Wed Jan 19 20:07:46 PST 2011
Author: andersca
Date: Wed Jan 19 22:07:46 2011
New Revision: 123880
URL: http://llvm.org/viewvc/llvm-project?rev=123880&view=rev
Log:
Add silly test case.
Modified:
cfe/trunk/test/Parser/cxx0x-override-control-keywords.cpp
Modified: cfe/trunk/test/Parser/cxx0x-override-control-keywords.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx0x-override-control-keywords.cpp?rev=123880&r1=123879&r2=123880&view=diff
==============================================================================
--- cfe/trunk/test/Parser/cxx0x-override-control-keywords.cpp (original)
+++ cfe/trunk/test/Parser/cxx0x-override-control-keywords.cpp Wed Jan 19 22:07:46 2011
@@ -11,3 +11,8 @@
// virt-specifier-seq is only valid in member-declarators, and a function definition is not a member-declarator.
virtual void f() const override { } // expected-error {{expected ';' at end of declaration list}}
};
+
+struct override;
+struct A {
+ virtual override override(int override) override;
+};
More information about the cfe-commits
mailing list