// RUN: %clang_cc1 -std=c++20 -verify %s
;
// FIXME: We should probably make it illegal to mix virtual and non-virtual methods
// this way. See CWG2488 and some discussion in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105699.
;
concept CO1 = N == 1;
concept CO2 = N >
0;
;
;
concept Foo = ;
;
;
;
;
;
;
;
; // expected-error {{no viable destructor found for class 'D<0>'}} expected-note {{in instantiation of template}}
; // expected-error {{destructor of class 'D<1>' is ambiguous}} expected-note {{in instantiation of template}}
;
;
int