================ @@ -1,6 +1,10 @@ // RUN: %clang_cc1 -std=c++26 -freflection -triple x86_64-unknown-linux-gnu \ // RUN: -emit-llvm -o - %s -verify +constexpr auto r = ^^int; +constexpr auto q = r; ---------------- Sirraide wrote:
Are global/`static` variables of consteval-only type allowed if they’re not ODR-used? If not then this is just ill-formed and shouldn’t be in a test https://github.com/llvm/llvm-project/pull/190356 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
