]> granicus.if.org Git - clang/commitdiff
Add silly test case.
authorAnders Carlsson <andersca@mac.com>
Thu, 20 Jan 2011 04:07:46 +0000 (04:07 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 20 Jan 2011 04:07:46 +0000 (04:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123880 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/cxx0x-override-control-keywords.cpp

index 04cf74e4f53f748d5b4171a97277912aea2d1569..35f0fe623a6c73f22cad66969675f0e34a3cf866 100644 (file)
@@ -11,3 +11,8 @@ struct T {
   // 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;
+};