Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/explicit13.C

raw
1 // PR c++/90320
2 // { dg-do compile { target c++11 } }
3
4 struct M {
5 M() = default;
6 template <typename T> explicit M(T&&) = delete;
7 };
8
9 struct V {
10 V(M m);
11 };
12
13 M m;
14 V v = m;