]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaCXX/constructor-recovery.cpp
Updaet clang to 92395.
[FreeBSD/FreeBSD.git] / test / SemaCXX / constructor-recovery.cpp
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 }