repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaObjCXX
/
class-templ-error-null-init.mm
blob
b621a3ab24dea146be7dbbd60d07ca2d551f023e
1
// RUN: %clang_cc1 -fsyntax-only -std=c++17 -verify %s
2
// expected-no-diagnostics
3
template <typename a, int* = nullptr>
4
struct e {
5
e(a) {}
6
};
7
e c(0);