[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / cxx20-unevaluated-lambda-crash.cpp
blob9cc6ebe93af48940b67cc46dbeb4381b6deeec47
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++20 %s -emit-llvm -o - | FileCheck %s
3 // CHECK-LABEL: define linkonce_odr void @"_ZN10Issue579601EIiEENS_1FILNS_3$_0EEEEv"()
4 namespace Issue57960 {
5 template<auto>
6 class F {};
8 template<typename D>
9 F<[]{}> E() {
10 return {};
13 static auto f = E<int>();