PR c++/52869
[official-gcc.git] / gcc / testsuite / g++.dg / DRs / dr1207-2.C
blob2d54748bdad2c09f3a47de01a889f4e111be2584
1 // DR 1207
2 // PR c++/52869
3 // { dg-do compile { target c++11 } }
5 void
6 fn ()
8   struct S {
9     bool operator!() noexcept(false);
10   } s;
11   S t = s;