================
@@ -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;
----------------
changkhothuychung wrote:

I think I should rename this test file. The purpose when I created this test 
file is that reflection should not produce codegen, but since we don't 
implement consteval-only type yet, we will emit diagnostics for reflection in 
codegen and have `expected-error` in the test. 

Also, its related to [this 
discussion](https://github.com/llvm/llvm-project/pull/190356#discussion_r3033403682)
 at the moment.

https://github.com/llvm/llvm-project/pull/190356
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to