================
@@ -1,7 +1,15 @@
 // RUN: %clang_cc1 -std=c++26 -freflection -triple x86_64-unknown-linux-gnu \
-// RUN:   -emit-llvm -o - %s -verify
+// RUN:   -emit-llvm -o - %s | FileCheck %s
+
+using info = decltype(^^int);
+
+template <auto A>
+void foo () {}
 
 int main() {
-  (void)(^^int); // expected-error {{cannot compile this scalar expression 
yet}}
+  foo <info {}> ();
+  foo <^^int> ();
----------------
shafik wrote:

`__int128_t`? `long double`?, `_BitInt`?, `__attribute__ ((vector_size (16)))`? 
`_Complex double`? 

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