// RUN: %clang_cc1 -std=c++2a -verify %s
constexpr int non_class = 42;
constexpr int arr_non_class = ;
;
constexpr A class_ = ;
constexpr A arr_class = ;
;
constexpr Mutable mut_member; // expected-error {{must have constant destruction}} expected-note {{in call}}
;
constexpr MutableStore mut_store; // expected-error {{must have constant destruction}} expected-note {{in call}}
// Note: the constant destruction rules disallow this example even though hcm.n is a const object.
;
constexpr MutableConst mc; // expected-error {{must have constant destruction}} expected-note {{in call}}
;
constexpr Temporary t = ; // expected-error {{must have constant destruction}} expected-note {{created here}} expected-note {{in call}}