// RUN: %clang_cc1 -fsyntax-only -triple %itanium_abi_triple -verify %s
// RUN: %clang_cc1 -fsyntax-only -triple %itanium_abi_triple -verify -std=c++98 %s
// RUN: %clang_cc1 -fsyntax-only -triple %itanium_abi_triple -verify -std=c++11 %s
// RUN: %clang_cc1 -fsyntax-only -triple %ms_abi_triple -DMSABI -verify %s
// RUN: %clang_cc1 -fsyntax-only -triple %ms_abi_triple -DMSABI -verify -std=c++98 %s
// RUN: %clang_cc1 -fsyntax-only -triple %ms_abi_triple -DMSABI -verify -std=c++11 %s
// PR7800
// The Microsoft ABI doesn't have the concept of key functions, so we have different
// expectations about when functions are first required for that case.
;
// expected-note@-2 3 {{declared private here}}
// expected-note@-4 3 {{declared private here}}
;
;
;
D d;
// expected-note@-2 2{{implicit default constructor for 'D' first required here}}
// expected-error@-4 {{call to implicitly-deleted default constructor of 'D'}}å
void
;
;
;
G g;
// expected-note@-2 2{{implicit default constructor for 'G' first required here}}
// expected-error@-4 {{call to implicitly-deleted default constructor of 'G'}}
void
;
;
;
J j;
// expected-note@-2 2{{implicit default constructor for 'J' first required here}}
// expected-error@-4 {{call to implicitly-deleted default constructor of 'J'}}
void