Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 struct C {
      4   virtual C() = 0; // expected-error{{constructor cannot be declared 'virtual'}}
      5 };
      6 
      7 void f() {
      8  C c;
      9 }
     10