1 // RUN: %clang_cc1 -triple i686-pc-win32 -std=c++11 -verify %s
4 virtual ~S() = delete; // expected-note {{'~S' has been explicitly marked deleted here}}
5 void operator delete(void*, int);
6 void operator delete(void*, double);
7 } s
; // expected-error {{attempt to use a deleted function}}
9 struct T
{ // expected-note 2{{virtual destructor requires an unambiguous, accessible 'operator delete'}}
10 virtual ~T() = default; // expected-note {{explicitly defaulted function was implicitly deleted here}} expected-warning {{implicitly deleted}} expected-note{{replace 'default'}}
11 void operator delete(void*, int);
12 void operator delete(void*, double);
13 } t
; // expected-error {{attempt to use a deleted function}}