1 // { dg-do compile { target c++17 } }
3 // Test C++17 selection statements with initializer, basic use.
12 if (auto p = foo (); p > 10)
20 if (auto a = 9, b = foo (); a + b > 10)
28 if (auto i = foo (); i > 6)
34 extern void lock (void);
48 switch (i *= 2; auto idx = i)
61 if constexpr (constexpr auto s = sizeof (int); s > 10)