repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
cxx20-unevaluated-lambda-crash.cpp
blob
9cc6ebe93af48940b67cc46dbeb4381b6deeec47
1
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++20 %s -emit-llvm -o - | FileCheck %s
2
3
// CHECK-LABEL: define linkonce_odr void @"_ZN10Issue579601EIiEENS_1FILNS_3$_0EEEEv"()
4
namespace
Issue57960
{
5
template
<
auto
>
6
class
F
{};
7
8
template
<
typename D
>
9
F
<[]{}>
E
() {
10
return
{};
11
}
12
13
static
auto
f
=
E
<
int
>();
14
}