Fixed the build issue happen [here](https://github.com/llvm/llvm-project/pull/164692) Issue here is this [function ](https://github.com/llvm/llvm-project/blob/main/clang/lib/Sema/TreeTransform.h#L13057-L13061) doesn't return a type
8 lines
224 B
C++
8 lines
224 B
C++
// RUN: %clang_cc1 -std=c++26 -freflection -triple x86_64-unknown-linux-gnu \
|
|
// RUN: -emit-llvm -o - %s -verify
|
|
|
|
int main() {
|
|
(void)(^^int); // expected-error {{cannot compile this scalar expression yet}}
|
|
return 0;
|
|
}
|