Lines Matching refs:LG
21 template <class LG>
22 void test_conversion(LG) {} in test_conversion() argument
30 using LG = std::scoped_lock<>; in main() typedef
31 LG lg = {}; // expected-error{{chosen constructor is explicit in copy-initialization}} in main()
32 test_conversion<LG>({}); // expected-error{{no matching function for call}} in main()
36 using LG = std::scoped_lock<M>; in main() typedef
37 LG lg = {m0}; // expected-error{{chosen constructor is explicit in copy-initialization}} in main()
38 test_conversion<LG>({n0}); // expected-error{{no matching function for call}} in main()
42 using LG = std::scoped_lock<M, M>; in main() typedef
43 LG lg = {m0, m1}; // expected-error{{chosen constructor is explicit in copy-initialization}} in main()
44 test_conversion<LG>({n0, n1}); // expected-error{{no matching function for call}} in main()
48 using LG = std::scoped_lock<M, M, M>; in main() typedef
49 … LG lg = {m0, m1, m2}; // expected-error{{chosen constructor is explicit in copy-initialization}} in main()
50 test_conversion<LG>({n0, n1, n2}); // expected-error{{no matching function for call}} in main()