// RUN: %clang_cc1 -std=c++2b -fsyntax-only -fobjc-arc -fblocks -verify=cxx98_2b,cxx11_2b,cxx2b %s
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -fobjc-arc -fblocks -verify=cxx98_2b,cxx11_2b %s
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fobjc-arc -fblocks -verify=cxx98_2b,cxx11_2b %s
// RUN: %clang_cc1 -std=c++98 -fsyntax-only -fobjc-arc -fblocks -Wno-c++11-extensions -verify=cxx98_2b,cxx98 %s
;
; // cxx2b-error {{no matching constructor}}
// Both ConstCopyOnly and NonConstCopyOnly are
// "pure" C++98 tests (pretend 'delete' means 'private').
// However we may extend implicit moves into C++98, we must make sure the
// results in these are not changed.
;
; // cxx98-error {{call to deleted constructor}}
;
; // cxx11_2b-error {{call to deleted constructor}}
;
; // cxx98_2b-error {{call to deleted constructor}}
;
;
;
; // cxx98_2b-error {{call to deleted constructor}}
;
;
;
; // cxx98_2b-error {{invokes a deleted function}}
;
;
;