Debian Codegraph @

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

raw
1 // PR c++/92447
2 // { dg-do compile { target c++11 } }
3
4 template <typename T>
5 void
6 foo ()
7 {
8 struct S { S &operator=(S &&x) = default; const T s{}; };
9 }
10
11 void bar ()
12 {
13 foo<int>();
14 }