repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
analyzer
/
pr94011.C
blob
81c0acd39543a06b46ac7d295f7a3775a0765fe3
1
// { dg-do compile { target c++11 } }
2
// { dg-additional-options "-O1 -Wno-analyzer-use-of-uninitialized-value" }
3
4
template <typename DV> DV
5
vu (DV j4)
6
{
7
return [j4] () { return j4 () ? j4 : throw j4 (); } ();
8
}
9
10
void
11
foo ()
12
{
13
auto n1 = [] { return nullptr; };
14
15
vu (n1);
16
}