Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / analyzer / pr94011.C
blob81c0acd39543a06b46ac7d295f7a3775a0765fe3
1 // { dg-do compile { target c++11 } }
2 // { dg-additional-options "-O1 -Wno-analyzer-use-of-uninitialized-value" }
4 template <typename DV> DV
5 vu (DV j4)
7   return [j4] () { return j4 () ? j4 : throw j4 (); } ();
10 void
11 foo ()
13   auto n1 = [] { return nullptr; };
15   vu (n1);