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
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
pr28050.cpp
blob
57e90eb751696234001a77551d992f9ab4d1d7ad
1
// RUN: %clang_cc1 -triple x86_64-pc-windows-msvc -std=c++11 %s -fsyntax-only
2
//
3
// expected-no-diagnostics
4
5
class
A
{
6
public
:
7
A
(
char
*
s
) {}
8
A
(
A
&&) =
delete
;
9
};
10
11
int
main
() {
A
a
(
"OK"
); }