1 // { dg-options -std=c++17 }
2 // Test C++17 selection statements with initializer, basic use.
11 if (auto p = foo (); p > 10)
19 if (auto a = 9, b = foo (); a + b > 10)
27 if (auto i = foo (); i > 6)
33 extern void lock (void);
47 switch (i *= 2; auto idx = i)
60 if constexpr (constexpr auto s = sizeof (int); s > 10)